What steps will reproduce the problem?
1. A user clicks on the location editor map (rather than drags the pin)
2.
3.
What is the expected output? What do you see instead?
Expect to see one pin where the user clicks.
Instead we get two pins, a green pin where we clicked and a second red pin
appears many miles from the clicked point (see attached example). A big problem
for websites that allow users to place pins i.e. have implemented the
location-editor map in a front end form.
Solution:
Move the if statement "if ( !selected_marker ) {" in location-editor.js line
991 up to encompass the preceding four lines of code (see attached).
Original issue reported on code.google.com by
someoneg...@gmail.comon 28 Nov 2014 at 8:08Attachments: