---
title: kml-layer
---

  # Kml-Layer

  
  > KmlLayer component
  
  
  
  
  
  [See]([source code](/guide/kml-layer.html#source-code))
,[See]([Official documentation](https://developers.google.com/maps/documentation/javascript/kmllayer))

  

  
## Props

  | Prop name     | Description | Type      | Values      | Default     |
  | ------------- | ----------- | --------- | ----------- | ----------- |
  | url | The URL of the .kml file<br/>`@see` [KML layer options](https://developers.google.com/maps/documentation/javascript/kmllayer#kml_layer_options) | string | - | '' |
| 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<br/>`@see` [KML layer options](https://developers.google.com/maps/documentation/javascript/kmllayer#kml_layer_options) | object | - | undefined |

  
  
  
  
  ---


  
  