alexandre-melard / leaflet.TileLayer.WMTS

Add WMTS layering for leaflet
Other
78 stars 84 forks source link

Issue for calling WMTS from MapProxy #27

Open bukun opened 4 years ago

bukun commented 4 years ago

I'm writing a book, and build MapProxy as demo. URL: http://webgis.cn:6001/demo/

When calling WMTS as xyz format, it seems well. URL: http://webgis.cn/wmts-xyz.html

and I want to introduce this plugin. However, first I have to modify the source code to make the plugin work:

    var ident = this.matrixIds[zoom].identifier;
    var tilematrix = this.wmtsParams.tilematrixset + ":" + ident;

to:

    // var ident = this.matrixIds[zoom].identifier;
    var tilematrix = this.matrixIds[zoom].identifier;

and as you can see ( http://webgis.cn/wmts-plugin.html ), the map looks strange at the start. also it will looks find when zooming in.