MapShapeLayerProps
Represents the props of the KendoReact MapShapeLayer component.
Definition
Package:@progress/kendo-react-map
Properties
attribution?
string
The attribution for the layer. Accepts HTML.
children?
ReactNode
The child components. Supports MapShapeLayerTooltip.
data?
any[]
The array of data items for this layer.
Specifies the extent of the region covered by this layer. The layer will be hidden when the specified area is out of view. If not specified, the layer is always visible.
Accepts an Extent or an array that specifies the extent covered by this layer:
[[NW lat, NW long], [SE lat, SE long]].
maxZoom?
number
The minimum zoom level at which to show this layer.
minZoom?
number
The minimum zoom level at which to show this layer.
opacity?
number
The the opacity for the layer.
The value must be in the range from 0 (fully transparent) to 1 (fully opaque).
style?
ShapeOptions
The default style for shapes.
zIndex?
number
The zIndex for this layer.
Layers are normally stacked in declaration order (last one is on top).