Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No value provided for variable {TileMatrix} #142

Open
auspex opened this issue Jan 31, 2023 · 0 comments
Open

No value provided for variable {TileMatrix} #142

auspex opened this issue Jan 31, 2023 · 0 comments

Comments

@auspex
Copy link

auspex commented Jan 31, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant