Android draw marker in runtime or at on LocationChange?
It is possible to draw markers in runtime or at onLocationChange event,开发者_JAVA百科 not on Create event?
If by "draw markers at runtime", you mean "add items to an ItemizedOverlay
on a MapView
", then, yes, you can update these whenever you want. Just call populate()
again on your ItemizedOverlay
. Here is a sample project that demonstrates loading overlay items asynchronously.
精彩评论