I know how to add point to map.
private void addMarkertoMap() {
LatLng MarkerPos = new LatLng (24.803751, 1.479969);
googlemap.addMarker(new MarkerOptions()
.icon(BitmapDescriptorFactory.defaultMarker(BitmapDescriptorFactory.HUE_ROSE))
.position(MarkerPos)
);
But what if I have many points (hundreds) and I want to display them from GML or KML file? Is it posible in Google Maps Android API? Any help?
Thanks!
You could add just those markers that are currently visible on screen (though please note that you’ll want to keep track of those markers that you add on-screen so that you don’t add them over and over again. You may even want to remove those that are no longer visible)