Closed (won't fix)
Project:
GMap Module
Version:
5.x-0.6
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Oct 2007 at 21:28 UTC
Updated:
8 Jan 2013 at 03:19 UTC
So is it possible for me to be able to put a GMAP let's say on the registration form and have a group of fields that are related to a users address that when the user starts typing their address and moves on to the next field the GMAP does a geocode search by address string and refreshes the map to the retrieved location???
I have achieved this outside of druple using the google maps api, but I am unsure as to how I can achieve this inside drupal using this module. Please note that I do not want to refresh the page, I simply would like to refresh the map.
Comments
Comment #1
bdragon commentedYeah.
If you have js/address.js included, you can use the geocode_pan and geocode_panzoom events.
or similar.
Comment #2
tanoshimi commentedI'm interested in this too but I don't quite understand BDragon's snippet - should the call to this javascript function be placed in the node via drupal_add_js, or in the node template file, or somewhere else... can anyone elaborate a bit further please? thanks.
Comment #3
fatfish commentedThis Improve UI for entering and geocoding of locations should gives a clue.
http://drupal.org/node/44795
Comment #4
ultimikeI think this is the correct URL for the "Improve UI for entering and geocoding of locations" thread...
http://drupal.org/node/165040
-mike
Comment #5
rooby commentedDrupal 5 is no longer supported.
If this issue affects drupal 6 or 7 please look for an existing issue for that version or else update this issue accordingly.