]> ToastFreeware Gitweb - philipp/winterrodeln/mediawiki_extensions/wrmap.git/commitdiff
Replace matrixSet with projection to be more general.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Fri, 24 Nov 2023 13:02:51 +0000 (14:02 +0100)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Fri, 24 Nov 2023 13:02:51 +0000 (14:02 +0100)
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,
                        let result = new OlFormatWmtsCapabilities().read(text);
                        let options = optionsFromCapabilities(result, {
                                layer: layer,
-                               matrixSet: 'google3857',
+                               projection: 'EPSG:3857',
                                style: 'normal',
                        })!;
                        options['attributions'] = attributions;
                                style: 'normal',
                        })!;
                        options['attributions'] = attributions;