Skip to content

TileLayer

The VMapTileLayer component is used to load and display tile layers on the map.

Basic usage

API

Attributes

Use tile layer options from leaflet documentation.

NameDescriptionTypeDefault
* urlTile layer URL template. Requiredstring
titleName of layer, when used as a child component layers control.string
overlayOverlay layer, when used as a child component layers control.booleanfalse

Events

Use tile layer events from leaflet documentation.

Slots

NameDescription
defaultThe default slot can be used to extend behavior.

Exposes

NameDescriptionType
tileLayerLeaflet tile layer instance.Ref<TileLayer | null>

Released under the MIT License.