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:
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
Post a Comment