originalTilePoint.scaleBy is not a function
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 380
- Forks
- 140
- PR merge metrics
- No merged PRs in 30d
Description
I'm not sure where my problem is, but I keep on getting this error:
TypeError: originalTilePoint.scaleBy is not a function
at http://***/leaflet-image/leaflet-image.js:119:18
at Array.forEach (native)
at handleTileLayer (http://***/leaflet-image/leaflet-image.js:111:15)
at start (http://***/leaflet-image/leaflet-image.js:335:13)
at poke (http://***/leaflet-image/leaflet-image.js:323:26)
at Queue.defer (http://***/leaflet-image/leaflet-image.js:301:7)
at drawTileLayer (http://***/leaflet-image/leaflet-image.js:45:50)
at eachLayer (http://***/leaflet/dist/leaflet.js:6:21728)
at leafletImage (http://***/leaflet-image/leaflet-image.js:32:9)
Can someone assist me on what I'm doing wrong or is this a fault with the plugin?
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 at leaflet-image.js lines 111-119 in handleTileLayer and trace the originalTilePoint value from the reported leafletImage call. Reproduce the TypeError with the reporter's Leaflet setup, then identify the compatibility or input issue; done means the tile layer renders without this error and the behavior is covered by an appropriate test if the repository provides one.
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