Thursday, 15 May 2014

How to include google map on android to show multiple locations of perticular company? -


So basically I want to showcase many office locations on Google Maps in the Android application. And also wanted the company logo as a marker on the map.

Any help would be very good for me ..

Sorry for the bad English

The document you want to read here, to get started on Google Maps. After completing the tutorial, you only need to add a mapfragment to the XML of the screen.

To set up the markers, you need to get map restrictions in the activity. Java:

  map = (getFragmentManager) (FindFragmentById (R.id.map))) getMap () .;  

and then set a new marker:

  map.addMarker (new marker option.) Position (MY_HOME). is "));  

MY_HOME has a LatLng object with latitude and graphing position.


No comments:

Post a Comment