开发者

How to make Google-map style pin for an high-resolution on Android OS? [closed]

开发者 https://www.devze.com 2023-03-30 10:24 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, 开发者_运维知识库visit the help center for guidance. Closed 11 years ago.

I would like to design an application that does annotations on a high-resolution image. In particular, I am looking for UI elements that mimic google-map style pins and tags. Are there any existing UI APIs that I can use for that in Android already?


Even with the default Android MapView there is no element available to directly add an overlay like the pins and the text-markers in the google map app, without creating your own image assets and use those.

Maybe this answer: Expanding Overlay Marker on Google Maps? can give you an idea to solve your problem. The projects that are linked use 9patch images to create a custom map overlay.


There's not enough information in your question to determine what you want. Are you doing graphics or using the Google maps interface? Check out 2D graphics for the non-maps graphics. Check out Overlay draw for maps.

0

精彩评论

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