-
Notifications
You must be signed in to change notification settings - Fork 149
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
Create CircleLayers with a Physical Unit Radius #2178
Comments
@seizler Hi, a way to go here is to create a polygon with Turf and use the fill layer. https://mapbox.github.io/turf-swift/2.8.0/Structs/Polygon.html#/s:4Turf7PolygonV6center6radius8verticesACSo22CLLocationCoordinate2DV_SdSitcfc // The radius is in meters here
let polygon = Polygon(center: coord, radius: 10000, vertices: 30) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
New Feature
Instead of screen units that change scale with the zoom of the map, please add the ability to define the circle radius in units such as meters or feet or miles or whatever. I need to encompass a certain radius around my features on the map and am having a hard time.
Why
This solves so much headache of converting a point feature geojson into a massive amount of coordinates to draw a fill layer perimiter.
The text was updated successfully, but these errors were encountered: