How to draw a polygon like google map in android app? -




i creating map app place city , want draw polygon around place.
i have example of app idea in web google map picture: enter image description here
how can ?

original documentation has clear explanation polygon api. need use method own coordinates , colors:

googlemap map; // ... map. // add triangle in gulf of guinea polygon polygon = map.addpolygon(new polygonoptions()     .add(new latlng(0, 0), new latlng(0, 5), new latlng(3, 5), new latlng(0, 0))     .strokecolor(color.red)     .fillcolor(color.blue)); 




wiki

Comments

Popular posts from this blog

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -

Asterisk AGI Python Script to Dialplan does not work -

elasticsearch - what is the equivalent data type for geo_point in hibernate search? -