1.1.29 • Published 4 years ago
another-google-map-react v1.1.29
another-google-map-react
Made with create-react-library
Install
npm install --save another-google-map-react
Usage
import React from 'react'
import { GoogleMap, GeoJsonLayer } from 'another-google-map-react'
const GOOGLE_MAP_LOADER_URL = `https://maps.googleapis.com/maps/api/js?v=beta&libraries=places`
<GoogleMap
googleMapOptions={{
center: { lat: -34, lng: 151 },
zoom: 10,
mapTypeId: 'roadmap',
streetViewControl: false
}}
style={{}}
onClick={(latLng) => alert(JSON.stringify(latLng))}
onBoundsChanged={(boundingBox) => {}}
gooleMapLoaderUrl={GOOGLE_MAP_LOADER_URL}
googleMapRef={(map) => {}}
></GoogleMap>
License
MIT © maxim75
1.1.29
4 years ago
1.1.28
4 years ago
1.1.23
4 years ago
1.1.27
4 years ago
1.1.26
4 years ago
1.1.25
4 years ago
1.1.24
4 years ago
1.1.19
4 years ago
1.1.18
4 years ago
1.1.17
4 years ago
1.1.21
4 years ago
1.1.20
4 years ago
1.1.16
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.1.12
4 years ago
1.0.11
4 years ago
1.0.10
4 years ago
1.1.15
4 years ago
1.1.14
4 years ago
1.1.13
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago