Android Maps Intent - Extra Parameters -


right now, i'm launching google maps application following call:

string geoaddress = "maps.google.com/maps?q="; geoaddress += latlong[0] + "," + latlong[1];     intent = new intent(android.content.intent.action_view, uri.parse(geoaddress)); startactivity(i); 

which open , place marker @ specified position on map. have 2 questions:

1) how can place multiple markers of have longitude/latitude?

2) how can start maps application other modes (terrain/satellite/etc.)?

thanks!

  1. you can add multiple links on map using overlays,and u can see googlemapview example in http://developer.android.com/resources/tutorials/views/hello-mapview.html. here can understand use of overlays.

read following links , download code link(for further reference)

https://github.com/jgilfelt/android-mapviewballoons

https://github.com/jgilfelt/android-mapviewballoons#readme

2.to change views use following functions, mapview.setsatellite(true); mapview.setstreetview(true); further reference http://mobiforge.com/developing/story/using-google-maps-android


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -