mapbox / mapbox/mapbox-gl-js

Provide a way to specify function outputs in real-world units

Open
#2,525 5 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature :green_apple:
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.