2016-12-28 20:29:00 +02:00
2016-07-24 13:11:16 +03:00
2016-12-28 20:29:00 +02:00
2016-07-24 13:11:16 +03:00
2016-12-28 20:29:00 +02:00
2016-12-28 20:29:00 +02:00
2016-06-25 10:56:08 +03:00
2016-06-25 10:56:08 +03:00
2016-06-25 10:56:08 +03:00
2016-05-29 10:02:47 +03:00
2016-06-25 10:56:08 +03:00
2016-05-29 10:02:47 +03:00
2016-07-27 10:58:52 +03:00
2016-07-27 10:57:56 +03:00
2016-06-25 10:56:08 +03:00

react-leaflet-google

GoogleMaps layer as React component for Leaflet build on top of React-Leaflet. Also it uses google-maps a wrapper for asynchronously used Google Maps API in browser.

Getting started

import { Map, TileLayer, LayersControl } from 'react-leaflet'
import {GoogleLayer} from '../src'
const { BaseLayer } = LayersControl;
const key = 'Your Key goes here';


....

 <BaseLayer checked name='Google Maps Roads'>
   <GoogleLayer  type='ROADMAP'/>
</BaseLayer>
<BaseLayer  name='Google Maps Hydrid'>
   <GoogleLayer googlekey={key}  type='ROADMAP'/>
</BaseLayer>


For more details on how to use this plugin check the example.

S
Description
Mirror of github.com/RustyRaptor/react-leaflet-google — GoogleMaps layer as React component for Leaflet
Readme MIT
7.1 MiB
0 Stars 1 Watchers 0 Forks
Languages
JavaScript 98.1%
HTML 1.9%