Google Maps tile layer for react leaflet.
npm install @eisberg-labs/google-maps-leaflet-tile-layer
> Google Maps tile layer for react leaflet.
If you 👍 or use this project, consider giving it a ★, thanks! 🙌
Prerequisite is to have leaflet library already installed.
``bash`
npm i --save leaflet@1.9.3 react-leaflet@^4.2.0
As for the google-maps-leaflet-tile-layer:
`bash`
npm i --save @eisberg-labs/google-maps-leaflet-tile-layer
`jsx
import {MapContainer, Marker} from 'react-leaflet';
import * as L from 'leaflet';
import "leaflet/dist/leaflet.css";
export const Basic = () => {
return (
width: '100%',
position: 'relative', opacity: 1,
}}>
)
}
`
| Name | Type | Default | Description|
|-------------|------|-----------|----------|
| subdomains | string[] | ['mt0', 'mt1', 'mt2']` | If one subdomain is down, try another.|
MIT © Eisberg Labs