-
Notifications
You must be signed in to change notification settings - Fork 142
Open
Description
With leaflet
"leaflet": "^1.9.3",
"leaflet-image": "^0.4.0",
in my package.json (the values I get from npm install leaflet-image), and the following code:
var map = L.map("towMap", {
preferCanvas: true,
layers: [
baseLayer,
towTrack,
sampleLayer
] })
leafletImage(map, function (err, canvas) {
...
I get the error
No value provided for variable {TileMatrix}
baseLayer is from L.GIBSLayer (gibs-leaflet package), so perhaps is not CORS-compliant as required (I have no idea how to test that), but if that's the case the error message could be more obvious.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels