Geocode Does Not Determine Point Location Exactly On Google Map
Solution 1:
The problem is that you're passing the marker's position through a geocoder.
A geocoder takes a raw lat/lng location and tries to map it to an address. This could be a street or a town or a region. The results that the Google geocoder return include the address text, plus the location of that address.
You're displaying the location that the geocoder returns. As the user moves the marker around regions with a low density of potential addresses, you're going to see aliasing. That means that the various raw locations that the user 'selects' will reverse geocode down to the same address being returned by the geocoder.
Thus, it will appear as if the lat/lng of the marker is not changing, when what you're actually doing is displaying the lat/lng of the geocoded address.
Note, that site that you linked to doesn't do any geocoding when it displays position information.
Post a Comment for "Geocode Does Not Determine Point Location Exactly On Google Map"