开发者

Map pointer with user's image and name in an Android map

When a user accesses the 开发者_Python百科map in my app, I want to display his image and name and have them point to his location. How can I make this happen?


Create a map overlay where you override the draw method. Load user's image, draw it at coordinates you like. Draw his name as well. See this sample. Look at the canvas API for other methods.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜