S stanks Active Member Licensed User Longtime User Mar 26, 2016 #1 how to dinamically refresh info window, for example to show new distance between my location (start) and end location? thanks
how to dinamically refresh info window, for example to show new distance between my location (start) and end location? thanks
Erel B4X founder Staff member Licensed User Longtime User Mar 27, 2016 #2 Have you tried to update Marker.Snippet? Upvote 0
S stanks Active Member Licensed User Longtime User Apr 1, 2016 #3 i have multiple poi's. info adapter initialized in map fragment. when i tap on i show info to user. but user can tap on button that will draw polyline from his loc to that tapped poi. i am using solution from the forum (https://www.b4x.com/android/forum/threads/mapsdecodepolyline.31499/#post-374702) and it works ok. from that decoding i get distance and duration. so when i get distance/duration i should refresh custom info window. but i don't know how. Upvote 0
i have multiple poi's. info adapter initialized in map fragment. when i tap on i show info to user. but user can tap on button that will draw polyline from his loc to that tapped poi. i am using solution from the forum (https://www.b4x.com/android/forum/threads/mapsdecodepolyline.31499/#post-374702) and it works ok. from that decoding i get distance and duration. so when i get distance/duration i should refresh custom info window. but i don't know how.
eurojam Well-Known Member Licensed User Longtime User Apr 1, 2016 #4 if you want to update the infowindow created with the infowindowadapter with your own style in the state when it is open, there is no chance to do that. the infowindow is a kind of bitmap rendered internally from google maps lib. see https://developers.google.com/maps/documentation/android-api/infowindows for more information on that. Upvote 0
if you want to update the infowindow created with the infowindowadapter with your own style in the state when it is open, there is no chance to do that. the infowindow is a kind of bitmap rendered internally from google maps lib. see https://developers.google.com/maps/documentation/android-api/infowindows for more information on that.
S stanks Active Member Licensed User Longtime User Apr 1, 2016 #5 hm but i have found some info on stack overflow about that but i don't know how to do that Upvote 0
S stanks Active Member Licensed User Longtime User Apr 1, 2016 #7 http://stackoverflow.com/questions/15503266/dynamic-contents-in-maps-v2-infowindow Upvote 0