Skip to content

No value provided for variable {TileMatrix} #142

@auspex

Description

@auspex

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions