Waldemar Lima Well-Known Member Licensed User Longtime User Mar 2, 2018 #1 hi everyone ! i would like know how can i update a marker position of GoogleMaps ? B4X: Markers(i).Position = -20,20 ' like this Last edited: Mar 2, 2018
hi everyone ! i would like know how can i update a marker position of GoogleMaps ? B4X: Markers(i).Position = -20,20 ' like this
DonManfred Expert Licensed User Longtime User Mar 2, 2018 #2 You need to remember the marker you defined. You can store it in a list, map, whatever B4X: Dim m1 As Marker = gmap.AddMarker(53.664565,9.781609, "test") Use the Object m1 to set the new Position... Upvote 0
You need to remember the marker you defined. You can store it in a list, map, whatever B4X: Dim m1 As Marker = gmap.AddMarker(53.664565,9.781609, "test") Use the Object m1 to set the new Position...
Waldemar Lima Well-Known Member Licensed User Longtime User Mar 2, 2018 #3 can i use it to re-set position of marker ? Upvote 0
DonManfred Expert Licensed User Longtime User Mar 2, 2018 #4 You REALLY should read the available Documentation inside the IDE No need for the question if you did check the docs. Last edited: Mar 2, 2018 Upvote 0
You REALLY should read the available Documentation inside the IDE No need for the question if you did check the docs.
Waldemar Lima Well-Known Member Licensed User Longtime User Mar 2, 2018 #5 i already try Marker(i).Position , but i dont know how can i can i modify position with this command :c Upvote 0
i already try Marker(i).Position , but i dont know how can i can i modify position with this command :c
Waldemar Lima Well-Known Member Licensed User Longtime User Mar 2, 2018 #6 because Marker.Position.Latitude and Marker.Position.Longitude both are "read only" Upvote 0
DonManfred Expert Licensed User Longtime User Mar 2, 2018 #7 B4X: Dim latlon As LatLng latlon.Initialize(Latitude,Longitude) m1.Position = latlon Upvote 0
Waldemar Lima Well-Known Member Licensed User Longtime User Mar 2, 2018 #8 awesome <3 is that what i am looking for thanks Upvote 0