every page contacts maps.google.com unnecessarily
| Project: | GMap Module |
| Version: | 4.7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | won't fix |
Jump to:
After enabling gmap module, I noticed that every page in my web site always contacts maps.google.com before showing on screen (no matter what link I click: Account settings, Forum, ...). Therefore performance suffered notably degradation.
I am using drupal 4.7.7. Not sure whether it can be reproduced in other releases.
Steps to reproduce:
1. Install and enable the gmap module.
2. Enable location information in one of your custom content type (CCK), for example "friend".
3. Create a "friend", providing his/her name and also the location information (street, country, longitude, latitude, ...).
NOTE: The longitude and lattitude fields are not correctly stored. After some investigation, I can see in the logs that an SQL statement is failing because the location table does not exist. I install and enable the location module, which is not listed anywhere as a dependency of the gmap module). After that, the longitude and lattitude fields are correctly stored.
4. From this time on, every page contacts maps.google.com. Why??
At this point, I also tried to disable the location module. The location table is not deleted from the database, so it seems that the gmap module can continue working without it. Can anyone confirm that?
Thanks

#1
I'm sorry, I can't support 4.7. About the "every page contacts maps.google.com", I'm guessing you have the map display set to "static."