Gathering detailed insights and metrics for canex-react-leaflet-google-layer
Gathering detailed insights and metrics for canex-react-leaflet-google-layer
Google layer for React-Leaflet using leaflet.gridlayer.googlemutant, implemented with typescript
npm install canex-react-leaflet-google-layer
Typescript
Module System
Node Version
NPM Version
60.5
Supply Chain
78.4
Quality
75.3
Maintenance
100
Vulnerability
99.3
License
TypeScript (100%)
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Total Downloads
64,894
Last Day
36
Last Week
184
Last Month
655
Last Year
13,789
MIT License
1 Stars
81 Commits
1 Branches
Updated on Nov 20, 2023
Minified
Minified + Gzipped
Latest Version
2.0.11
Package Id
canex-react-leaflet-google-layer@2.0.11
Unpacked Size
12.05 kB
Size
4.52 kB
File Count
6
NPM Version
6.14.15
Node Version
14.18.3
Cumulative downloads
Total Downloads
Last Day
1,100%
36
Compared to previous day
Last Week
135.9%
184
Compared to previous week
Last Month
13.3%
655
Compared to previous month
Last Year
-72.3%
13,789
Compared to previous year
4
4
Google layer for React Leaflet v3 and v4 using leaflet.gridlayer.googlemutant, implemented with typescript.
The current version of this library supports React Leaflet v3 and v4.
If you are using React Leaflet v2, please use the previous version of this library. Please see the documentation here:
https://github.com/aviklai/react-leaflet-google-layer/tree/v1
npm install --save react-leaflet-google-layer
<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY" async defer></script>
false
.Usage example:
import * as React from 'react';
import { MapContainer } from 'react-leaflet';
import ReactLeafletGoogleLayer from 'react-leaflet-google-layer';
export const App = () => {
return (
<MapContainer zoom={15} center={[45, 20]}>
<ReactLeafletGoogleLayer apiKey='YOUR_API_KEY' type={'satellite'} />
</MapContainer>
);
};
https://codesandbox.io/s/basic-usage-with-react-leaflet-v3-vx8fd
apiKey?: string
useGoogMapsLoader?: boolean, default: true
googleMapsAddLayers?: { name: 'BicyclingLayer' | 'TrafficLayer' | 'TransitLayer', options?: any }[]
zIndex?: number
No vulnerabilities found.
No security vulnerabilities found.