Access "My Maps" in Google Maps from Android -
i want write app display markers 1 of custom maps in google maps. how access data? there must api can't find information anywhere.
if have created google maps map through browser tools, can copy link map , pass google map application on device.
intent intent = new intent("android.intent.action.view"); intent.setcomponent(componentname.unflattenfromstring("com.google.android.apps.maps/com.google.android.maps.mapsactivity")); intent.addcategory(android.intent.category.launcher); // replace string google map url intent.setdata("your google map url here"); startactivity(intent); i don't believe mapview api supports maps, 1 path use google map application if want view data.
or export out of maps kml , parse app, responsible putting down of poi markers, etc.
update 2011-04-13:
if add on parameter 'output=kml' google maps link url can kml file of map. kml xml file containing of points of interest on map along lat/long , details. once parse file, want data.
update 2015-05-20:
looks new version of google maps has kml import , export capabilities. can export kml file or network link kml file.
Comments
Post a Comment