Add Polygons drawing
Is it possible to implement polygons drawing feature?
Actually, have an idea how to do this
Path path = new Path(); path.addPolygon(offsets, true);
final paint = Paint() ..style = PaintingStyle.fill; canvas.drawPath(path, paint);
Yes, we have a polyline layer already that can be used as a reference
Sure. Just to find the time and selfeducate about git things ) Also have an idea to extend polyline to geodesic arcs based on same name plugin from leaflet.
Cool - you can use the plugin API so that your layer can access the MapState similar to the polyline layer
any improvements on this is there any way to draw a polygon on a map?
What can't you do with a polyline out of interest ? Is it the filling of it ?
@DanialV There's a polygon layer now https://github.com/johnpryan/flutter_map/blob/master/lib/src/layer/polygon_layer.dart
@DanialV There's a polygon layer now https://github.com/johnpryan/flutter_map/blob/master/lib/src/layer/polygon_layer.dart
how can i use it ? and how it work ? please guide me.