The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
2answers
5k views

Google Map iframe in a tab issue

I have embedded a map on the third tab on a page. Page here > 'Itinerary' tab If you go straight to the tab while the page is still loading - it loads the map perfectly. However, if you wait until ...
0
votes
1answer
610 views

Help integrating Custom post type meta field with custom profile fields

I have a custom post type for "locations" and I need to have "users" log in and be able to pick a location that is within a certain distance from them. I have added some spots to the profile using ...
1
vote
0answers
31 views

Google Maps in WordPress

I am dealing with an issue that I would like to have some suggestions on how to solve it. I have a self-hosted WordPress managed website where I implemented a Google Map to display on a page. On this ...
1
vote
0answers
226 views

Anyway to have google maps display multiple AND unique locations per individual posts/pages?

Having the hardest time finding a solution to a big problem. So far I can't find any plugins that are capable of doing this. I have a site where each post needs to have it's own google map that ...
0
votes
1answer
629 views

Geo Mashup Maps show only specified categories

I'm using the Geo Mashup plugin to display maps on my site. I've changed a pages template, so it now only lists pages from certain categories instead of listing them all, which has now effected my ...
0
votes
0answers
29 views

Add Google Map with Wp Customizer API

Ideally I would like users to enter their address in the customiser, and then display their map on the contact page. Not being able to do this, I simply added a text area where they can embed / paste ...
0
votes
1answer
236 views

Integrating PHP into Javascript to display map markers with Google API

I am getting one map marker to display but not multiple markers. However the data displays in the HTML log. I think I am missing a loop or did not use my current loop correctly. Anyone who could ...
0
votes
2answers
210 views

Where to paste Google Map Snippet / JavaScript / CSS for WordPress integration

I have a working JS Fiddle here: http://jsfiddle.net/geocodezip/50g6vgns/1/ It is not displaying correctly when I paste all the code onto the text area of a WordPress page. For the external ...
4
votes
3answers
927 views

Remove extra Google Maps script

I'm developing a plugin that use a Google Maps API. The plugin enqueuing script in this way: wp_enqueue_script('google-maps', 'http://maps.google.com/maps/api/js?sensor=false&callback=initialize&...
1
vote
0answers
212 views

PHP array to JS array to use in google map

Hi I want to use some data stored in a php array to use it in google map api, to populate multiple locations in a the map. I use the loop to create my php array. <?php while ( $the_query-&...
0
votes
0answers
32 views

Google map api in Wordpress: lower quality / downscale

I've created my first map using google api v3 (without key). Wrote everything in a js file, and tested it with a local static test.html file that basically has: <script type="text/javascript" src=...
0
votes
0answers
265 views

Add different custom markers for different post types in Google maps API

I'm using the Google maps javascript API to create a map showing locations for multiple post types. I can create a custom map marker icon, but cannot figure out how to display a different marker icon ...
0
votes
1answer
89 views

WordPress Google Maps in Custom Theme

So I'm building a custom theme and implemented the Google Map API so I can give it a cleaner feel and so on then the normal Google Map. I've run into a problem when implementing my Marker as I ...
0
votes
1answer
43 views

Why is this script not working?

I've got the script from here http://www.mikedoesweb.com/2012/convert-tag-to-google-maps-embed-automatically-with-jquery/ I need to replace an address with a google map inside the post content. None ...
2
votes
1answer
31 views

Run a Parallel PHP Application with Wordpress

I have a PHP based application that runs on the Google Maps API. Most of it is written in straight PHP and Javascript, but I want to use some sort of CMS or tool to upload images, because there will ...
0
votes
0answers
162 views

Custom post type to display multiple map markers

So I have a google map that I need to display multiple markers on. I have it working with a manual array to display the markers, but now I am trying to make this dynamic using custom post types. &...
1
vote
1answer
23 views

I need to get an array from the wordpress database

I need to convert this code //This creates an array from the database and allows us to use it later in the jquery //CREATE SQL STATEMENT $sql_locations = "SELECT * FROM tbllocations"; //EXECUTE SQL ...
0
votes
0answers
46 views

Google maps custom plugin not working

I ve written a custom google map plugin but there is something wrong with the php. The map does not display. I have done some research but I cannot seem to understand what is missing. Here is the code ...
0
votes
1answer
42 views

Foreach loop inside foreach loop?

I have a situation where only way seems to use loop inside a loop. Is that a good idea? Like everybody else, Im looking for the most optimized solution possible. Situation: I need to assing ...
0
votes
1answer
60 views

Show different Google Map markers for different post_meta values

A lot of websites use it but suprisingly nobody tell us how to do it (right way). I have few ideas but Im not sure if this was the most efficient way - Im not very good with loops (under a year of ...
2
votes
3answers
3k views

How to query posts based on lat-lng coordinate as post meta?

I'm planning a custom WordPress theme where the Custom Post Type (CPT) will have latitude and longitude coordinate as it's meta value. The latitude and longitude will be displayed as a Marker in a ...
0
votes
0answers
38 views

Querying same column twice with wpdb (for postmeta values, specifically latitude and longitude)

I've seen similar questions around, but I just can't apply them to my case, I'm quite new at this, apologies. I'm trying to create a google map of my posts, using a latitude and longitude that are ...
0
votes
0answers
69 views

ACF Google Maps field not triggering on CSV Import

I have a csv of 7000 businesses that i just imported into wordpress. Each business has an address field, that i successfully imported into the ACF Google Maps field. The problem is the map itself will ...
0
votes
1answer
239 views

Adding a google map to a metabox, map has inline style height=0

I've read through a few posts here on stack exchange and cannot figure out what I am doing wrong. Here's my metabox callback: <script type="text/javascript"> function initMap() { ...
0
votes
1answer
425 views

create dynamic google map with iframe api

I want to create dynamic google map with iframe when customer can add address in custom field suit the google map automatically generate the custom field suit value into location . how can its ...
0
votes
4answers
100 views

Cannot Hide Google Map if custom field is blank

I am using the following to display google maps using hotel_address custom field. <iframe width="440" height="400" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps....
1
vote
1answer
170 views

How to pinpoint posts location with Google map v3?

This has been edited because I had the wrong tutorial all along. I would like to pinpoint my WordPress posts location in a single Google Map using the Javascript Option V3. I have look all over, but ...
0
votes
0answers
370 views

Querying latitude and longitude into google maps correctly

Im have custom fields for lat/lon and querying them into google maps. The query im using works if I know the exact number of lat/lon. $args = array( 'post_type' => 'events', '...
0
votes
0answers
141 views

how to custom google map in Wp, no plugin

my first question here, I couldn't find if it's been answered before. I'm using a theme that has a normal google map. I want to change its style. The only files referring to maps are a couple of .js ...
3
votes
1answer
140 views

WordPress Google Maps

Does anyone know of a nice map plugin for WordPress? I have a diary website in WordPress where each diary entry has the latitude and longitude of where each post was written. I thought it would be ...
0
votes
1answer
521 views

ACF Google Maps - Multiple Pins

I'm using ACF Fields plugin and attempting to create a Google Map which shows post locations, but not getting very far - the pins show up in the wrong places, and when I echo out the title of the post ...
2
votes
2answers
4k views

How to get a Google maps SQL->XML->map marker tutorial to work in WordPress

I have been trying to figure out what is wrong with my code for a couple days now, and I can't seem to crack it. I am trying to follow this tutorial I tried all three of the suggested methods to ...
9
votes
1answer
5k views

Is there a way to display all my posts on a single Google Map?

I'd like to "geotag" all my posts and display them on a single Google map.
0
votes
1answer
1k views

Add routes between multiple ACF google maps markers [closed]

I dug up this code from the ACF examples for Google maps markers: .acf-map { width: 100%; height: 400px; border: #ccc solid 1px; margin: 20px 0; } </style> <script src="https://...
1
vote
1answer
1k views

How can I run shortcode after click with ajax

I have a little problem and need your help. I have tabs on my page and in one tab i have google maps. This tab is hidden by default and when i clik on it, i can see only small piece of maps. Map it is ...
1
vote
0answers
2k views

Advanced Custom Fields google map [closed]

If anyone ever tried to work with advanced custom fields - google map fields and make a big map with lot of markers like this exmple: http://www.advancedcustomfields.com/resources/field-types/google-...
0
votes
1answer
77 views

Understanding WordPress Search

I am trying to create a custom search similar to the one on totaljobs.com but through a WordPress site. Essentially I would be able to search for both search terms and location simultaneously. The ...
0
votes
2answers
2k views

MapPress Easy Google Map in Jquery Tabs Problem

I am using MapPress Easy Google Map with the following code in my custom theme: <?php $mymap = new Mappress_Map(array("width" => 600,"height" => 300)); $mypoi_1 = new Mappress_Poi(...
0
votes
0answers
228 views

Plugin options with googlemap iframe

I have put google map in text option of plugin.The text input value is <iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.google.com/...
1
vote
2answers
2k views

Google Map is not working on the second tab of Tab Plugins

I am using a postTabs plugin and Comprehensive Google Map Plugin, my problem was when I have my Google map on the second tab, the map is not loading as expected. But if I move it on the 1st tab it ...
2
votes
2answers
1k views

Show posts on a Google Map

Through the custom fields, I assigned to each post its geographic coordinates (latitude/longitude). Now, I'd like to show a Google Maps with a marker for each post. Do you have any suggestions on ...
0
votes
0answers
731 views

Using Custom Field in Google Map Embed Code Works in One Theme, Not Another

I built a site using twenty twelve that is not on a live server yet, but which allows you to simply enter a street address into a custom field, and outputs a Google Map centered right on that address ...
0
votes
1answer
350 views

Using custom post types WordPress network

Working on a project I am setting up a WordPress network containing sites/blogs for small shops. I would like to use 2 custom post types in the following way: A location post type; The blog admin can ...
1
vote
1answer
1k views

How to implement a Google map store locator

I have followed the following Google developer doc about creating a store locator usng PHP & MySql. https://developers.google.com/maps/articles/phpsqlsearch_v3 I have this working but now I ...
0
votes
0answers
365 views

retrieve custom field “latitude, longitude” then add to google map

I need to call a custom field called 'latitude' and 'longitude' and then take those two values and pass them as a pinpoint in google maps. I searched and found this: Pass custom fields values to ...
1
vote
3answers
5k views

How to add multiple markers on the google map, at a certain meta_key and meta_value

I have over 200 customposts and each has customfields (add_city, add_state, add_location) in each custompost is googlmap with customfield (geo_longitude geo_latitude) Help please, display in googlmap ...
0
votes
1answer
2k views

how can i show a google map in custom post type

i m making a plugin in which, custom type posts are used, for the Location Custom type, how can i show a Google map for any location. The Output will be shown as
0
votes
3answers
498 views

passing markup thought a shortcode attribute

Happy holidays everyone. Hope someone can help me in thinking about a problem I've run into. I have a plugin Im building that allows the user to pull address data from the maps API - ie it ...
1
vote
2answers
737 views

Google Map Shortcode for Custom Taxonomy/Post Types

Calling all WP Stack Exchangers! I am currently using Alain Gonzales' Google Map Shortcode plug-in on a site I'm developing, and it's worked just fine: Google Map Shortcode plug-in on wordpress.org ...
1
vote
0answers
794 views

GeoMashup plugin: how to customize cluster markers / icons?

Is there a way to customize the standard cluster icon marker which GeoMashup uses to display nearby posts grouped in a certain area? By default it's a red dot in V2, or a blue dot in V3. I nee to ...