gmap location block working but no map showing and system generated coordinates not working

New Zeal - April 20, 2008 - 19:51
Project:GMap Module
Version:5.x-1.0-alpha1
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,

I'm involved in a site where we've got gmap user working as expected. The Gmap location block, however, is only showing on those pages in which the node author has entered (using the map) the lang/long coords. But instead of a map we are getting an empty box, as on this page: http://www.altglobe.com/men-circle.

I've checked all threads I can find regarding gmap issues of this sort. The map/node page http://www.altglobe.com/map/node correctly shows those locations for which coords have been entered. No auto generated ones, though. That feature does not appear to be working despite many events in which location data has been entered. (I presume they are generated from the names in the fields for city, state, country etc)

I've followed all the instructions at http://drupal.org/node/173115 such as:
Once location activated, you should go into admin/content/types then for each content type, edit it and activate the "locative information" section by putting at least 1 "default number of location" for this content type.
Then configure location module at "admin/settings/location", hide country selection and check "Use a Google Map to set latitude and longitude".
Configure GMap module "admin/settings/gmap" by putting your key.

I've tried the dev version and still no luck.

Any pointers towards a fix would be great.

Many thanks

Kent

#1

kmsherald - May 13, 2008 - 20:34

Hi there,

We are having the same issue... the system is not generating the longitude and latitude if those fields are left blank with the address fields filled in. However, everything works as expected if we manually enter the longitude and latitude.

Were you able to find a solution?

Thanks,
Kate

#2

kmsherald - May 14, 2008 - 16:21

I finally got this working on our site. I disabled gmap and gmap_location and tried to just get location module working. With the other two modules disabled, the geocoding was working... the system was generating the longitude and latitude. Once this was working, I re-enabled gmap and gmap_location and configured everything appropriately and it's now working!

 
 

Drupal is a registered trademark of Dries Buytaert.