Show Area or city boundry in google map using android map api

1.8k Views Asked by At

I want to show Area or city (search dynamically) boundaries in android app like map.google.com . I have search lots of things on google.I got this link.Show city or area outline

as per searching on google,I got KML file that is added on kmllayer and kml layer binds on map.

layer = new KmlLayer(googleMap,R.raw.campus, getApplicationContext());
layer.addLayerToMap();

But i don't know that how to bind that kml in google map. As per googling, we have to draw polyline on google map using kml. but can't finding working solution .

I have another Reference link.But not understand what i have to do in my code.anyone can help me for more detailing about that?

0

There are 0 best solutions below