From: Philipp Spitzer Date: Fri, 24 Nov 2023 13:02:51 +0000 (+0100) Subject: Replace matrixSet with projection to be more general. X-Git-Url: https://git.toastfreeware.priv.at/philipp/winterrodeln/mediawiki_extensions/wrmap.git/commitdiff_plain/9f8d91d8b1d65868612b150451fa73ad495885a6 Replace matrixSet with projection to be more general. --- diff --git a/src/wrmap.ts b/src/wrmap.ts index f80ac19..33c15c4 100644 --- a/src/wrmap.ts +++ b/src/wrmap.ts @@ -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;