Kml-Layer
KmlLayer component
[See](source code) ,[See](Official documentation) ,[See](Official reference)
Props
Prop name | Description | Type | Values | Default |
---|---|---|---|---|
clickable | If true, the layer receives mouse events. Default value is true.@see KmlLayerOptions interface | boolean | - | true |
map | Specifies the Map on which to render the KmlLayer. You can hide a KmlLayer by setting this value to null within the setMap() method@see KmlLayerOptions interface | object | - | undefined |
preserveViewport | By default, the input map is centered and zoomed to the bounding box of the contents of the layer. If this option is set to true, the viewport is left unchanged, unless the map's center and zoom were never set. @see KmlLayerOptions interface | boolean | - | false |
screenOverlays | Whether to render the screen overlays. Default true.@see KmlLayerOptions interface | boolean | - | false |
suppressInfoWindows | Suppress the rendering of info windows when layer features are clicked.@see KmlLayerOptions interface | boolean | - | undefined |
url | The URL of the KML document to display.@see KmlLayerOptions interface | string | - | '' |
zIndex | The z-index of the layer.@see KmlLayerOptions interface | number | - | undefined |
options | More options that you can pass to the component@value boolean | object | - | undefined |