leaflet.TileLayer.WMTS icon indicating copy to clipboard operation
leaflet.TileLayer.WMTS copied to clipboard

Issue for calling WMTS from MapProxy

Open bukun opened this issue 4 years ago • 0 comments

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.

bukun avatar Mar 07 '20 03:03 bukun