Skip to main content
Api

<ScriptLeafletTileLayer>

Adds an L.TileLayer to the nearest parent map. Nuxt Scripts does not choose a tile provider for you.

urlstring required
optionsLeaflet.TileLayerOptions

Always follow the selected provider's terms and pass its required attribution through options.attribution.

Was this page helpful?