From bb22034a8e14bcc083ff4f71f49355c212b85dfe Mon Sep 17 00:00:00 2001 From: Andreas Stassivik Date: Mon, 11 Nov 2024 17:34:41 -0800 Subject: [PATCH] `fullscreenMap` integration in fullscreen accessibility tutorial --- public/tutorial/accessibility/script/fullscreen.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/tutorial/accessibility/script/fullscreen.js b/public/tutorial/accessibility/script/fullscreen.js index 8b357d6..2ea9c44 100644 --- a/public/tutorial/accessibility/script/fullscreen.js +++ b/public/tutorial/accessibility/script/fullscreen.js @@ -1,10 +1,10 @@ import { attributionOsm, urlTemplateOsm } from '../../../script/base-layers.js' import { marker } from '../../../leaflet-adapter/marker.js' import { tileLayer } from '../../../leaflet-adapter/tile-layer/tile-layer.js' -import { MapFullscreen } from '../../../script/leaflet-fullscreen.js' +import { fullscreenMap } from '../../../script/leaflet-fullscreen.js' function mapFullscreen({ id, ...props }) { - return new MapFullscreen(id, { + return fullscreenMap(id, { fullscreenControl: true, ...props, })