开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜