質問

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

役に立ちましたか?

解決

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

Very simple example here

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top