I struggled a while with getting the click-on-the-map-feature for setting latitude and longitude to work.
Applied the patch at http://drupal.org/node/69449 and things got better.

One thing still broken though; when editing a node with a location previously set, the location is not plotted on the map.

Problem located:
In gmap.module, function gmap_set_location() there are two variables that are not set properly. I solved it quickly with:

$latform = $form[$fields['latitude']];
$lonform = $form[$fields['longitude']];

...inserted before they were used for the first time.

I think you should add this to CVS. Some substitution would probably be better than assigning values though :-)

Comments

wolfderby’s picture

Title: marker missing when editing a node » subscribing
michelle’s picture

Title: subscribing » Marker missing when editing a node

Changing title back. Please be careful when replying to issues.

Michelle

bdragon’s picture

Status: Active » Closed (fixed)

This looks like pre locpick code.
It should be quite a bit more reliable with a recent 5.x gmap.