开发者

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

开发者 https://www.devze.com 2022-12-19 09:57 出处:网络
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 th

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

精彩评论

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