import React from 'react'; import { Map, TileLayer, LayersControl } from 'react-leaflet' import {GoogleLayer} from '../src' const { BaseLayer} = LayersControl; const key = 'AIzaSyDEG4lyorD61vnJoAHG0FkQERZ-McElZyg'; const terrain = 'TERRAIN'; const road = 'ROADMAP'; const satellite = 'SATELLITE'; const hydrid = 'HYBRID'; //// Google's map type. Valid values are 'roadmap', 'satellite' or 'terrain'. 'hybrid' is not really supported. export default class GoogleExample extends React.Component { constructor() { super(); } render() { return ( ) } }