Google Maps Android API v2

330 views
Skip to first unread message

emux

unread,
Dec 26, 2012, 3:43:15 PM12/26/12
to mapsfo...@googlegroups.com
https://developers.google.com/maps/documentation/android/
I just want to inform the community of the Google Maps Android API v2 announced in December, for those that have missed it.
It is always wise to observe the "opposite side"!

It has added some interesting features that we like to see in Mapsforge, like rotation or OpenGL.

Patrick Jackson

unread,
Feb 21, 2013, 8:54:38 AM2/21/13
to mapsfo...@googlegroups.com
Interesting feature of the v2 maps is you can use custom tileproviders.  So mapsforge could be used to render the tiles and then displayed on the GoogleMaps view and the could be rotated, zoomed, and use the same markers/etc.

Has anyone tried this??

Thilo Mühlberg

unread,
Feb 21, 2013, 1:33:35 PM2/21/13
to mapsfo...@googlegroups.com
I can only tell you that in the next version of the mapsforge-map
library there will be support for adding arbitrary tile providers to the
layer stack as well. All you need to do is to implement the simple
TileSource interface to have your tiles displayed in the MapView.

I have no plans implementing Google Maps API interfaces to integrate
mapsforge tiles into the Google Maps framework.

Greetings,
Thilo
> --
> You received this message because you are subscribed to the Google
> Groups "mapsforge-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to mapsforge-de...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>


signature.asc

Martin Pearman

unread,
Feb 22, 2013, 4:16:53 AM2/22/13
to mapsfo...@googlegroups.com
That's an interesting idea.

Someone has already ported the mapsforge rendering classes to osmdroid:
https://groups.google.com/forum/?fromgroups=&hl=en#!searchin/osmdroid/osmdroid$20and$20mapsforge/osmdroid/gSieR9BF_z0/Oyk_fnqcfSIJ

The Google Maps TileProvider class is basic - it has just a single getTile() method:
https://developers.google.com/maps/documentation/android/reference/com/google/android/gms/maps/model/TileProvider

My knowledge of the mapsforge tile rendering process is pretty minimal but i shall look at the osmdroid ported classes and see if i can work out how a similar port could be created for Google Maps v2.

Martin.
Reply all
Reply to author
Forward
0 new messages