Some time ago I played a lot with GoogleMaps according to this post: https://www.b4x.com/android/forum/threads/problem-with-googlemaps-handling-polygons.84238/#post-533844 The problem was to add other shapes on a googlemap overlapping existing shapes. When you move the mouse over an existing...
@oparra.... Thanks for the suggestions however @Erel appears to be suggesting that implementing a listener event for Marker DragStart/Drag/DragEnd may not be as simple as we imagine.
To usefully employ a user generated sequence of Google Map Markers you must be able to do one of the following..... either,
- Keep a List of their positions in code...... which requires capturing a marker's position AFTER a drag event or,
- Be able to iterate through the markers as a collection, capturing their positions when the user is done editing. Something like....
This would be great!:
'Sadly markers are not a collection that can be accessed
For Each m As Marker In GoogleMap
Log(m.Position.Latitude & ", " & m.Position.Longitude)
Next
Unfortunately it appears neither method is available.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.