Question

I am building a googlemaps web application that has a series of static markers as well as a series of markers representing staff who are "out on the field" I am able to retrieve a staff members lat, long position via ajax.

But using jquery ui map v3 I cannot update the poistion of the marker with a matching staff ID.

How can i change a markers position and then update the map view?

Thank you

Was it helpful?

Solution

Use the setPosition() method of Marker to change the position of a marker !

Very simple example here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top