mapbox / mapbox/leaflet-knn

Miles ? not meters ?

Open
#10 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
92
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Hello! i've got a problem. I use a circlemarker of 10/20/30 km.
But always border point aren't in.
When i multiply max distance with 1.61 it works.
Maybe max distance is in miles and not meters ?

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 locating the distance calculation used for circlemarker searches in the leaflet-knn repository and reproduce the report with 10, 20, and 30 km radii. Check whether the distance units and boundary inclusion match the documented input; done means kilometer-based searches include the expected border points.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.