File tree Expand file tree Collapse file tree 1 file changed +3
-20
lines changed
Expand file tree Collapse file tree 1 file changed +3
-20
lines changed Original file line number Diff line number Diff line change @@ -300,24 +300,6 @@ class _PolygonPageState extends State<PolygonPage> {
300300 ),
301301 children: [
302302 openStreetMapTileLayer,
303- Builder (
304- builder: (context) => PolygonLayer (
305- drawInSingleWorld: true ,
306- polygons: [
307- Polygon (
308- points: [
309- MapCamera .of (context).visibleBounds.northWest,
310- MapCamera .of (context).visibleBounds.northEast,
311- MapCamera .of (context).visibleBounds.southEast,
312- MapCamera .of (context).visibleBounds.southWest,
313- ],
314- color: Colors .orange.withAlpha (255 ~ / 3 ),
315- borderColor: Colors .black,
316- borderStrokeWidth: 10 ,
317- ),
318- ],
319- ),
320- ),
321303 MouseRegion (
322304 hitTestBehavior: HitTestBehavior .deferToChild,
323305 cursor: SystemMouseCursors .click,
@@ -381,9 +363,10 @@ class _PolygonPageState extends State<PolygonPage> {
381363 LatLng (50 , - 123 ),
382364 LatLng (50 , - 121 ),
383365 ],
384- borderStrokeWidth: 4 ,
366+ borderStrokeWidth: 3 ,
385367 borderColor: Colors .red,
386- color: Colors .red,
368+ color: Colors .orange,
369+ label: 'Culling tester' ,
387370 ),
388371 Polygon (
389372 points: const [
You can’t perform that action at this time.
0 commit comments