This project is read-only.

Reposition Markers from CodeBehind

Jan 19, 2012 at 5:03 PM

Hi everyone!

I'm currently developing a site to display markers of current GPS positions of some prototype handheld gps tracking systems that I'm testing. Right Now I'm able to load the current positions but If I get and updated position of any of the devices, by some reason the map doesn't refresh or moves the marker.

For example:

I have a webservice that is getting the latest data available. Then I have a "For...Loop" to scan through the markers and set the new coordinates.

GoogleMap1.Markers(I).Position = New LatLng(dt.Rows(x)("lat"), dt.Rows(x)("lon"))

But then again..... NO re positioning, refreshing, movement is occuring....  :(

Any help will be appreciated.

Thanks in advance