Skip to content

Commit

Permalink
fullscreenMap integration in fullscreen accessibility tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
Stassi committed Nov 12, 2024
1 parent bb82f47 commit bb22034
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/tutorial/accessibility/script/fullscreen.js
Original file line number Diff line number Diff line change
@@ -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,
})
Expand Down

0 comments on commit bb22034

Please sign in to comment.