Skip to content

google-maps-leaflet-tile-layer 1.0.3

Install from the command line:
Learn more about npm packages
$ npm install @eisberg-labs/google-maps-leaflet-tile-layer@1.0.3
Install via package.json:
"@eisberg-labs/google-maps-leaflet-tile-layer": "1.0.3"

About this version

Downloads

Google Maps Leaflet Tile Layer

Google Maps tile layer for react leaflet.

Example

If you 👍 or use this project, consider giving it a ★, thanks! 🙌

Installation

Prerequisite is to have material library already installed.

npm i --save [email protected] react-leaflet@^4.2.0

As for the google-maps-leaflet-tile-layer:

npm i --save @eisberg-labs/google-maps-leaflet-tile-layer

Usage

Take a look at Storybook examples for example usage.

<MapContainer id="map" zoom={15} center={[0, 0]}>
  <GoogleLayer maxZoom={20}/>
</MapContainer>

Api

Name Type Default Description
subdomains string[] ['mt0', 'mt1', 'mt2'] If one subdomain is down, try another.

Demo

Try the Demo

License

MIT © Eisberg Labs

Details


Assets

  • google-maps-leaflet-tile-layer-1.0.3.tgz

Download activity

  • Total downloads 1
  • Last 30 days 0
  • Last week 0
  • Today 0