Skip to content

Commit

Permalink
cascading property destructuring integration (unary interface)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stassi committed Nov 13, 2024
1 parent e5b5d74 commit 2aff112
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions public/tutorial/accessibility/script/fullscreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,8 @@ import { marker } from '../../../leaflet-adapter/marker.js'
import { tileLayer } from '../../../leaflet-adapter/tile-layer/tile-layer.js'
import { fullscreenMap } from '../../../script/leaflet-fullscreen.js'

function mapFullscreen({ id, ...props }) {
return fullscreenMap(id, {
fullscreenControl: true,
...props,
})
}

const altText = 'Kyiv',
map = mapFullscreen({
map = fullscreenMap({
center: [50.4501, 30.5234],
id: 'map',
zoom: 4,
Expand Down

0 comments on commit 2aff112

Please sign in to comment.