PHP 7.4.33
Preview: KmlLayer.md Size: 517 B
/var/www/sitesecurity.bitkit.dk/httpdocs/node_modules/@react-google-maps/api/src/components/kml/KmlLayer.md
# KML Layer example

```jsx
const { GoogleMap, LoadScript } = require("../../");
const ScriptLoaded = require("../../docs/ScriptLoaded").default;

const mapContainerStyle = {
  height: "400px",
  width: "800px"
};

const center = {
  lat: 41.876,
  lng: -87.624
};

<ScriptLoaded>
  <GoogleMap
    id="kml-layer-example"
    mapContainerStyle={mapContainerStyle}
    zoom={11}
    center={center}
  >
    <KmlLayer url="http://googlemaps.github.io/js-v2-samples/ggeoxml/cta.kml" />
  </GoogleMap>
</ScriptLoaded>
```

Directory Contents

Dirs: 0 × Files: 2
Name Size Perms Modified Actions
517 B lrw-r--r-- 2026-04-28 09:11:40
Edit Download
3.38 KB lrw-r--r-- 2026-04-28 09:11:40
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).