How, when geocoding, can you simply move an existing marker to the result of a new geocode result.
Let's take this example:
- When the map loads, a marker appears
- When someone geocodes, the marker moves to the result
- The marker is draggable, so the user can further move the marker (if they want to)
- Perhaps they want to re-geocode a location, so the new result should automatically move the existing marker.
In this sample:
https://google-developers.appspot.com/maps/documentation/javascript/examples/geocoding-simple
...a new marker is drawn for every new geocode.
Does that make sense?
Thanks!!!
-m
Example that does something close to what you want
working code snippet: