Closed dimitriospafos closed 3 years ago
seems like this is caused because of the outer bounds of the polygon. if I change to:
polygon.addPoints([
Position.positionFromLatLng(-85.0511, -170),
Position.positionFromLatLng(-85.0511, 0),
Position.positionFromLatLng(-85.0511, 179.9999),
Position.positionFromLatLng(85.0511, 179.9999),
Position.positionFromLatLng(85.0511, 0),
Position.positionFromLatLng(85.0511, -170)])
then it works fine. Not sure why it behaves differently on android.
Seems like "StrokeColor/StrokeWidth" is not working on IOS when having a hole in polygon. The strokeColor and strokeWidth apply correctly to the outer bounds of the polygon but not on the hole of the polygon.
Attaching IOS and Android screenshots: