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.
精彩评论