Perhaps there is a setting that is incorrect on my site, but I don't know as I am new to Gmap.
Here is what I have installed and turned on:
Gmap
Gmap Location
Gmap Macro Builder
Gmap Taxonomy Markers
Location
Location Add Another
Location Fax
Location Phone
Location Search
Location taxonomize
Location taxonomize - Location
Node Locations
For a content type, I have tried both a location cck field and node location separately. A link to a google map displays, but no map on the site. When I create a view, I go through the steps of creating a page with Gmap style. No map is displayed.
My api key is Version 2, and there was no error message when I generated it and entered it in today. My drupal version is 7.9. What am I missing or does the latest release not work?
Comments
Comment #1
axgalloway commentedFYI, Location version is 7.x-3.x, and I have Location CCK module active.
Comment #2
axgalloway commentedI fixed the display on a page by configuring the correct input format at admin/config/content/formats
However, I can't seem to figure out how to get the display of the map in a view. I created a new content 'page' view with format display of Gmap. It is filtered to content type with locations. No map is displaying. What setting am I missing?
Comment #3
axgalloway commentedOkay, to simplify, I uninstalled all of the location modules, addons, and gmap modules. Then, I turned on just four.
Gmap
Gmap Location
Location
Location CCK
In the view that I built, I removed all the filters, just in case, and kept everything else default values.


Attached are two screenshots of the settings.
No map is displaying on the page generated by the view? Why? Several Nodes have a location cck field and multiple locations.
Comment #4
axgalloway commentedI figured out the issue. If only the state and country are entered, no marker is set for the location, however, if further information is put in, such as a street address, zip code, or map coordinates, then a marker is assigned. It seems like each state and country should have its own default coordinates for a marker, or a randomly assigned one inside of the boundaries.
Anyway, I am changing it to a minor feature request.
Comment #5
alexio2170 commentedHi, I tried to upgrade. I'm experiencing the same problems... I'm filling coordinates as mandatory but no markers are shown on the map.
It seems to be a major problem.
Comment #6
axgalloway commentedMaybe some setting isn't configured?
Go to Configuration >> Location
Select the Geocoding tab, select Google Maps for the countries you are displaying.
Also, it could be unrelated, but when I set that configuration, I also checked the box in the main settings "Use a Google Map to set latitude and longitude".
Try both of those and see if it works. However, I tried the Extended Gmap display format View and can't seem to get any marker displayed on that. Some documentation about its configuration would be useful. Will create another issue for that...
Comment #7
axgalloway commentedAlso, not sure about the current validity of the statement, but I have read somewhere that Node Location conflicts with Location CCK, and the best for Drupal 7 design standards is Location CCK.
Comment #8
alexio2170 commentedHi, thanks for hints, but such configs are already in place.
I'm using location cck in fact. I've rolled back my gmaps module and my maps are restored.
Actually I can see the map (no errors) but I cannot any markers even if location cck has both country and coordinates which make the marker appear with the previous version,
Comment #9
johnvDid you resolve the issue?
Comment #10
podarokIs it feature request?
Comment #11
bdyerstewart commentedI, too, have lost my map display after upgrading the gmap module. I'm using the location module and Gmap in views to create the map. The map page gives me a no results message with no map. When I copy the query from views and run it in phpadmin, I see the results I expect (the same that show up on the map if I roll back to my earlier version of Gmap). If I clone the page and set the views style to Gmap extended, I no longer get the no results message, a map displays but no markers.
I'm using a dev version of Gmap from 4/12. When I've tried to update since then, I've had the same issue, so I just kept the earlier version. I've rolled back for now but look forward to being able to do updates without losing the map display.
Here's the text from the info file of the working gmap module:
; Information added by drupal.org packaging script on 2012-04-17
version = "7.x-1.x-dev"
core = "7.x"
project = "gmap"
datestamp = "1334665200"
Comment #12
johnv@bdyerstewart, please do no high-jack this issue. This is about Location CCK.
You should upgrade to 7.x-2.6 .
Comment #13
bdyerstewart commented@johnv. Not meant as a hijack, just additional info about a possibly related problem to add to the mix. My map stopped displaying when I upgraded to 7.x-2.6 so I reverted. It's not directly a Location CCK issue.
Comment #14
johnv@bdyerstewart , latest version should works unless you have clustermarkers.
let's promote this issue to the main issue for "Views plugin style" does not support 'Location CCK' fields