开发者

Draw custom map tile images (.pngs) on top of Google Map - Android

I have png images of map tiles over parts of the UK and i want to draw them on top of the google maps view, I have everytyhing s开发者_如何学运维et up, just want to be able to draw the tile images now.

My main class extends 'MapActivity', can i add a canvas function to draw them?

ALso, I only obviously need to draw the tiles that are in view on the phone while the tiles out of view should not be drawn.


You can add an Overlay to the MapView, that will get you a canvas to draw on. See http://code.google.com/android/add-ons/google-apis/reference/com/google/android/maps/Overlay.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜