Can I make the google maps layer as the base layer and add AGS layer on it?

3250
3
09-04-2012 12:13 AM
YILINGLIU
New Contributor
In Android programming, Can I make the google maps layer as the base layer and add AGS layer on it with the AGS SDK for Android?

If I can , Could you help me by giving me a strategic outline of it? Which example can help? can I implement this by following the sample Adding a Bing Maps layer sample    ?
However, this sample is add another layer on the AGS base layer. Now what I want to do is to add an AGS layer to a google Map layer.

~~~~~~~~~~~~~~~~~~~~~
Help!!!~
0 Kudos
3 Replies
deleted-user-ATjHIWsdQYmT
Occasional Contributor III
The short answer is, No.  Doing so is a violation of the Google Maps Terms of Service:
https://developers.google.com/maps/terms

Check out this FAQ as well (especially the part about acessing the maps and satellite images directly):
https://developers.google.com/maps/faq#tos_tiles

Apparently the only way to do this legally is to use the Google Static Maps API.

While not immediately relevant to Android, Rex Hansen posted a nice blog about doing this using the Silverlight API:
http://rexdotnet.blogspot.com/2010/09/use-google-maps-with-arcgis-silverlight.html

Hope this helps.
0 Kudos
YILINGLIU
New Contributor
The short answer is, No.  Doing so is a violation of the Google Maps Terms of Service:
https://developers.google.com/maps/terms

Check out this FAQ as well (especially the part about acessing the maps and satellite images directly):
https://developers.google.com/maps/faq#tos_tiles

Apparently the only way to do this legally is to use the Google Static Maps API.

While not immediately relevant to Android, Rex Hansen posted a nice blog about doing this using the Silverlight API:
http://rexdotnet.blogspot.com/2010/09/use-google-maps-with-arcgis-silverlight.html

Hope this helps.


Thanks a lot!
But I still have one doubt. Can't I use both google maps API and ArcGIS Runtime for Android in one project? In that way, still can't I do it?
0 Kudos
deleted-user-ATjHIWsdQYmT
Occasional Contributor III
Thanks a lot!
But I still have one doubt. Can't I use both google maps API and ArcGIS Runtime for Android in one project? In that way, still can't I do it?


I guess if you wanted to have two separate Map Views you could (stacked in a Linear Layout).  Both Esri and Google have their own MapViews and their is no way to add Google Tiles to Esri's MapView (as previously described) and there's no way to add ArcGIS Map Services  to the Google MapView.
0 Kudos