ES Module Demo

This example demonstrates modern ES6 module usage with Import Maps for native browser support.

Features:

Try it: Use the fullscreen button (top-left of the map) to enter/exit fullscreen mode.

Programmatic API:

You can also control fullscreen via JavaScript using map.fullscreenControl.toggleFullScreen()