gaiaresources / ala-citizenscience

Automatically exported from code.google.com/p/ala-citizenscience
1 stars 4 forks source link

Map point shows location center instead of lat/lon or wkt entered value #322

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a record with a location and move the point from the center of the 
location.
2. Save the record and open it again for editing.

What is the expected output? What do you see instead?
Notice that the point appears in the center of the location instead of where it 
was drawn.

Original issue reported on code.google.com by stepha...@gaiaresources.com.au on 30 Jul 2012 at 8:23

GoogleCodeExporter commented 9 years ago
This happens because a call to the updateLocation javascript happens when the 
location selector is drawn, which happens after the map is drawn.  The 
updateLocation function redraws the map feature as the center of the location.

Removed the calls to updateLocation to prevent this.

Original comment by stepha...@gaiaresources.com.au on 30 Jul 2012 at 8:26

GoogleCodeExporter commented 9 years ago
Fixed in r385.

Original comment by stepha...@gaiaresources.com.au on 14 Sep 2012 at 2:33