NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: oggy on June 25, 2020, 12:03:25 PM
-
Based on web76 example, I have map with source on table. If data change, latitude - longitude, how can I refresh/reset, or move, marker to new value?
-
Check out:
https://medium.com/@etaiso/creating-animated-marker-in-here-maps-ae5d75870e29
-
Damn I was afraid of that, heheheeh.
No, really, thanks for answer...
Regards...
-
Oggy,
are you wanting to see an animated move, or just refresh the map with the new marker position?
cheers
Bruce
-
Hi Bruce, I need to refresh, reset, position of the marker. My code:
After change, i fetch the new data and:
p_web.SetValue('_marker_',tra:ID_Imei)
p_web.ntMap('CentralEu','updateMarker','"'&p_web.GetValue('_marker_')&'",'&p_web.GetLatLng(tra:Latitude)&','&p_web.GetLatLng(tra:Longitude)&','&p_web.WrapOptions(loc:options))
did not work. I cannot even to remove some marker...
-
OK, i managed to resolve this...
BTW, Bruce, nice work on new build. After installing 1138 build of Nettalk, I did not get any error while compiling. I mean on error of unresolved externals...
Regards...