-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MGLPolygonStyleAnnotation coordinates do not conform to the GeoJSON spec #70
Comments
|
@skreborn Thanks for the clarification. I overlooked the |
Happy to help. Should this issue be closed then? |
Closing this up with two remarks:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
According to the GeoJSON spec the coordinates of a Polygon "MUST be an array of linear ring coordinate arrays". This translates to an array of arrays of points. According to the example you have to pass an array of points to the
MGLPolygonStyleAnnotation
. It seems to be missing an additional (outer) array.Source: https://tools.ietf.org/html/rfc7946#section-3.1.6
The text was updated successfully, but these errors were encountered: