The tag has no usage guidance.

learn more… | top users | synonyms

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....
2
votes
1answer
142 views

Locate authors on Google map version 3

<script type="text/javascript"> var infowindow = new google.maps.InfoWindow(); var pinkmarker = new google.maps.MarkerImage('/wp-content/themes/mapdemo/pink_Marker.png', new google.maps.Size(20, ...
1
vote
1answer
168 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
1answer
41 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 ...
0
votes
1answer
216 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
343 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 ...
0
votes
1answer
125 views

I want to split this into two functions

This code i will add below is for Custom Fields for Custom Post Type and GMap for Custom Post Type. Currently both are pulled by this function. I want to seperate both. One for Custom Fields and One ...
0
votes
1answer
594 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
19 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
146 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-&...
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 ...
1
vote
0answers
791 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 ...
0
votes
0answers
25 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
0answers
29 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
149 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. &...
0
votes
0answers
44 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
0answers
257 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
0answers
37 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
62 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
0answers
348 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
135 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 ...
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/...
0
votes
0answers
717 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
0answers
359 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 ...
0
votes
0answers
335 views

Plugin - including external javascript calling google maps

I have developed a javascript plugin retrieving data for my website (no wordpress here). The user can simply add it to its website with a div (the container of the plugin) and a script tag (the plugin)...