Saturday, July 2, 2011

[android-developers] Re: Multiple MapViews and MapActivities

Hi,

I have done what you describe previously to make an auto rotating Map
view based on compass direction - using a ViewGroup and View.draw().
Yes you don't know when the map tiles have been returned but in
general this does not matter if you keep rendering it in a loop - in
my case when compass direction changed. You can always sample part of
the bitmap image to see if it is still displaying the 'grid on white
background' to know when the map tile are present or not.

Regards

On Jul 2, 8:30 am, jotobjects <jotobje...@gmail.com> wrote:
> Cool thanks - we will look at that.  A gotcha is you don't know how
> long it will take for the tiles to be returned before you can get the
> image of the map.
>
> It was also suggested that we just use a webview with the google maps
> web api for the static thumbnail map.  That sounds like it might be
> simpler?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment