Gathering detailed insights and metrics for react-leaflet-google-tile-layer
Gathering detailed insights and metrics for react-leaflet-google-tile-layer
npm install react-leaflet-google-tile-layer
Typescript
Module System
Node Version
NPM Version
66.2
Supply Chain
77.9
Quality
79
Maintenance
100
Vulnerability
99.3
License
JavaScript (95.05%)
HTML (4.95%)
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Total Downloads
13,329
Last Day
12
Last Week
30
Last Month
191
Last Year
1,171
MIT License
62 Commits
2 Forks
1 Watchers
4 Branches
1 Contributors
Updated on Jul 10, 2018
Minified
Minified + Gzipped
Latest Version
5.1.0
Package Id
react-leaflet-google-tile-layer@5.1.0
Unpacked Size
7.39 MB
Size
7.00 MB
File Count
21
NPM Version
6.1.0
Node Version
10.6.0
Cumulative downloads
Total Downloads
Last Day
9.1%
12
Compared to previous day
Last Week
-18.9%
30
Compared to previous week
Last Month
54%
191
Compared to previous month
Last Year
10.9%
1,171
Compared to previous year
GoogleMaps layer as React component for Leaflet build on top of React-Leaflet.
The google maps layer is using the plugin from Leaflet.GridLayer.GoogleMutant
Also it uses google-maps, a wrapper for asynchronously download Google Maps API in the browser.
import { Map, TileLayer, LayersControl } from 'react-leaflet'
import GoogleLayer, { GOOGLE_LAYER_TYPES, ADDITIONAL_GOOGLE_LAYERS } from '../src'
const { BaseLayer } = LayersControl;
const key = 'Your Key goes here';
const settings = {
center: [42.09618442380296, -71.5045166015625],
zoom: 2,
}
....
<Map {...settings}>
<LayersControl position="topright">
<BaseLayer checked name='Google Maps Roadmap'>
<GoogleLayer
googleKey={KEY}
maxZoom={MAX_ZOOM}
type={GOOGLE_LAYER_TYPES.ROADMAP}
/>
</BaseLayer>
</LayersControl>
</Map>
export const ADDITIONAL_GOOGLE_LAYERS = {
TRAFFIC_LAYER: 'TrafficLayer',
TRANSIT_LAYER: 'TransitLayer',
}
export const GOOGLE_LAYER_TYPES = {
ROADMAP: 'roadmap',
SATELLITE: 'satellite',
TERRAIN: 'terrain',
HYDRID: 'hybrid',
}
For more details on how to use this plugin check the example.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
106 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-03-10
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More