a14n / dart-google-maps

A library to use Google Maps JavaScript API v3 from Dart scripts.
Apache License 2.0
130 stars 66 forks source link

MultiPolygons not working for more than 2 polygons. #58

Closed YuKitsune closed 6 years ago

YuKitsune commented 6 years ago

When creating a MultiPolygon (Where one creates a hole inside of the other, like a doughnut), adding a 3rd polygon does not create a hole as expected.

The mouse cursor will act as though there is a hole, but the main polygon is still being displayed: image

Is this a Google Maps API limitation?

a14n commented 6 years ago

I don't really know. I cannot find any reference of such a limitation. So it may be a limit in Maps JS api (you can test a simple example directly in JS code) or an issue in what you display on the map (perhaps a polygon under an other) or a bug in the Dart wrapper (but I don't see what would lead to this behaviour).

YuKitsune commented 6 years ago

Just tested in plain JS. Seems to be a Google Maps API problem. I've submitted a bug report directly to them. Hopefully they solve this quickly.