We'd like the feature to press "geocode" button beside location to geocode the location immediately using ajax and providing markers (for e.g. google gmap).
Currently coding only happens after node_save and results appear.
Is this feature pending?

CommentFileSizeAuthor
#4 gmap_new.patch543 byteswahabr
#4 gmap_location_autocomplete.zip833 byteswahabr

Comments

mautumn’s picture

+1 Yes we would really like this feature also. This is a much better user experience.

Thanks very much for this great module.

samchok’s picture

subscribe

wahabr’s picture

Project: Location » GMap Module
Version: 6.x-3.1-rc1 » 6.x-1.x-dev
Assigned: Unassigned » wahabr
wahabr’s picture

Status: Active » Patch (to be ported)
StatusFileSize
new833 bytes
new543 bytes

Submitted patch is a small snippet to add the JavaScript file that is responsible to load the coordinates for the location entered by the user inside GMap.module

the JavaScript is responsible for appending the html to fit the needs of the user to load the coordinates easily without leaving the form, file added to the JS folder inside the module.

miro_dietiker’s picture

Status: Patch (to be ported) » Needs work

wahabr, is it right to load this js for every gmap theming?
I'd only expect this js to be needed to load in case of a node/location edit form.
Are we unable to detect this limited context correctly?

miro_dietiker’s picture

Just as a note for credits:
This patch is based on the work of cgalli for a custom page and was submitted to wahabr to provide an improved and clean gmap internal solution.

cyberwolf’s picture

Subscribing.

Slacky08’s picture

Hi wahabr,

I think this is exactly what I was looking for, except the button to calculate location based on the users entered information (not lat/lon, but the actual address) does not appear...

I tried using your patch above on 6.x-1.x-rc1, and then also with just 6.x-1.x-dev... do you have any idea's why it wouldn't work?

Cheers

YK85’s picture

I found that the Gmaps module allows this functionality of 'Searching' the address inputted to check the validity on the Node Edit page. I want to use Gmap module + Location module as the community is larger.

I was wondering if there has been any further development in this feature?

Thank you very much for your time.

JCB’s picture

I am also very interested in this functionality.

I stumbled onto this link (have not tested myself).
http://drupal.org/node/1106464