find solution for old zoom level in latLngToLayerPoint
Open
Nobody has claimed this yet.
bug
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Currently this forces me to add points after a 400 ms delay (zooming).
Check these:
- https://gist.github.com/letmaik/e71eae5b3ae9e09f8aeb288c3b95230b
- http://bl.ocks.org/letmaik/e71eae5b3ae9e09f8aeb288c3b95230b
Also, it should be possible to use zoom from coords.
console.log(coords)
console.log(res.coordinates[i])
console.log(self._map.project(L.latLng(res.coordinates[i][1], res.coordinates[i][0]), coords.z))
Contributor guide
No contributing guide indexed for this repository
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 reproducing the delayed point-adding behavior during zooming, then inspect the latLngToLayerPoint call and the coords object described in the issue. Compare the returned coordinates with map.project at coords.z and use the linked examples and GIS discussion to define the expected zoom behavior; done means points can be added without the 400 ms delay and the intended zoom is respected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100