I am trying to draw MKPolygons from geojson, which is working fine. but at certain zoom levels one or two polygons getting disappeared and throws following error.
"Wrapped around the polygon without finishing..."
Same code works when zoomed out.
if let polygon = overlay as? EmsBoundariesOverlayPolygon {
let polygonView = MKPolygonRenderer(polygon: polygon.actualPolygon)
polygonView.lineWidth = polygon.lineWidth
polygonView.fillColor = polygon.fillColor
polygonView.strokeColor = polygon.lineColor
polygonView.alpha = 0.7
return polygonView
}
return MKOverlayRenderer()
}
is there any fix available for this at the moment