Closed (duplicate)
Project:
GMap Module
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jul 2009 at 18:56 UTC
Updated:
20 Feb 2012 at 18:21 UTC
What's the bug?
a) Add a point on the Gmap form widget by single-clicking to add a marker
b) Click on the new marker
c) Marker vanishes
d) No further input options are available - there's no way to place the marker again and the map widget is now useless
Can we perhaps locate the function which deletes the marker at step (b) above and disable it? My first test user broke the 'create new point' form in under five seconds.
Comments
Comment #1
handelaar commentedComment #2
handelaar commentedSorry, had a hard time walking back through the deps from gmap_geo.
Comment #3
handelaar commentedDamnit, no. Had it right the first time.
Comment #4
becw commentedGMap + Geo uses the GMap module's location picker widget. The behavior you describe is how the widget is supposed to work: you click on the marker to delete it, or click somewhere else on the map to relocate the marker.
Comment #5
handelaar commentedUm, no.
When adding a new point with the form picker widget, click-removing the point breaks the form. You cannot add a new marker after the first one's gone, the form is now incapable of picking a point location. The form is broken.
Comment #6
handelaar commentedActually, try it for yourself.
http://2wheelsgood.userfrenzy.com/node/add/cycle
Comment #7
handelaar commentedComment #8
becw commentedI see what you mean. It seems that the latitude/longitude fields are still correctly updated when you click the map [after deleting a marker], but no new marker is placed on the map.
Comment #9
sbandyopadhyay commentedFixed in #802102: After clearing location and setting new, the marker is not displayed.