Provide a way to specify function outputs in real-world units
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
Thanks for making Mapbox GL. We are considering migrating from Mapbox JS to Mapbox GL.
Is there a way to specify point/circle radius in meters? Mapbox JS differentiated between [Circle](https://www.mapbox.com/mapbox.js/api/v2.4.0/l-circle/) radius in meters (marker size varies by zoom but stays constant with respect to map) and [CircleMarker](https://www.mapbox.com/mapbox.js/api/v2.4.0/l-circlemarker/) radius in pixels (marker size does not vary by zoom but stays constant with respect to display).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how Mapbox GL handles point and circle radius values, then compare the requested behavior with the linked Mapbox JS Circle documentation. Done means callers can specify a radius in meters, with marker size changing by zoom while remaining constant relative to the map.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100