mapbox / mapbox/leaflet-image

aaa

Open
#106 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
380
Forks
140
PR merge metrics
No merged PRs in 30d

Description

leaflet-image.js:119 Uncaught TypeError: originalTilePoint.scaleBy is not a function
at leaflet-image.js:119
at Array.forEach ()
at handleTileLayer (leaflet-image.js:111)
at start (leaflet-image.js:335)
at poke (leaflet-image.js:323)
at Queue.defer (leaflet-image.js:301)
at drawTileLayer (leaflet-image.js:45)
at eachLayer (leaflet-src.js:1727)
at leafletImage (leaflet-image.js:32)
at HTMLButtonElement. ((index):43)
(anonymous) @ leaflet-image.js:119
handleTileLayer @ leaflet-image.js:111
start @ leaflet-image.js:335
poke @ leaflet-image.js:323
defer @ leaflet-image.js:301
drawTileLayer @ leaflet-image.js:45
eachLayer @ leaflet-src.js:1727
leafletImage @ leaflet-image.js:32
(anonymous) @ (index):43

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 at leaflet-image.js:119 in handleTileLayer and trace the call from leafletImage through drawTileLayer using the stack trace. Reproduce the failure from the example entry point at (index):43, then verify that the tile-layer path completes without the reported TypeError.

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.