]> ToastFreeware Gitweb - philipp/winterrodeln/mediawiki_extensions/wrmap.git/blobdiff - src/wrmap.ts
Replace matrixSet with projection to be more general.
[philipp/winterrodeln/mediawiki_extensions/wrmap.git] / src / wrmap.ts
index f80ac19db3de1430cde830012bc0c33b27262895..33c15c4346d1f6f3b33ef03552e0201d8de25a3f 100644 (file)
@@ -393,7 +393,7 @@ function init_wrmap(_: number, jq_map_element: HTMLElement) {
                        let result = new OlFormatWmtsCapabilities().read(text);
                        let options = optionsFromCapabilities(result, {
                                layer: layer,
-                               matrixSet: 'google3857',
+                               projection: 'EPSG:3857',
                                style: 'normal',
                        })!;
                        options['attributions'] = attributions;