VHillshadeLayer
HillshadeLayer
component. Need use with VRasterSource
.
<v-hillshade-layer
id="hillshade-layer-id"
source="source-url"
:paint="paint-object"
:layout="layout-object"
:minzoom="minzoom-value"
:maxzoom="maxzoom-value"
:filter="filter-object"
/>
Load layer
Property
Property | Description |
---|---|
id | layer id |
source | source id |
sourceLayer | source layer id |
paint | paint properties |
layout | layout properties |
minzoom | min zoom |
maxzoom | max zoom |
filter | filter rule |
for more details you can access to mapbox website, go to
Event
Event | Description |
---|---|
click | layer click event |
mouseenter | layer mouseenter event |
mousemove | layer mousemove event |
mouseleave | layer mouseleave event |