Android update ONE marker ONLY in Mapview, how?
Is there a way to update one of my marker's position 开发者_如何学编程on a mapview?
How?
thanks, Leslie
public final class CustomdOverlayItem extends OverlayItem {
void setPoint(GeoPoint point) {
mPoint = point;
}
}
And do not forget to call populate() and draw() methods in your ItemizedOverlay after this thing.
Maybe more useful and safer would be remove previous OverlayItem object, create new one with appropriate coordinates and then apply it to your map?
精彩评论