Is it possible to draw overlays without map tiles?

Put problem concerning MapActivities, MapViews, Overlays and GPS in this forum.

Is it possible to draw overlays without map tiles?

Postby daeyeon » Thu May 06, 2010 10:52 am

hi everyone.

I'd like to draw only overlays without map tiles.
I mean that I just want to use MapView object's control without displaying maps.

I supposed that if I could make a sub-class of MapView, I could draw my own function, which would draw overlays only.
However, I could find out that MapView class has the final protected OnDraw function.
It means that it is impossible to override OnDraw function.

Is it possible to draw overlays without map tiles?
If you have some ideas, please comment me.

Thank you-
daeyeon
Once Poster
Once Poster
 
Posts: 1
Joined: Thu May 06, 2010 10:34 am

Top

Postby JKumar » Thu May 13, 2010 8:39 am

HI,

In case you do not need the map, you can go for canvas and display an overlay converting the GeoPoints to the screen pixels.

As overlays for map should work on MapView , i suppose and so map view needs to be there for the overlay. I would recommend to check if map overlays can be applied to canvass and if its working then your job is done.

Hope the suggestion helps you...Keep posting in case of objection........It makes us better to understand Android
User avatar
JKumar
Experienced Developer
Experienced Developer
 
Posts: 52
Joined: Thu May 13, 2010 8:17 am
Location: INDIA

Top

Return to Map Problems

Who is online

Users browsing this forum: Exabot [Bot] and 4 guests