1.1.29 • Published 3 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
3 years ago
1.1.28
3 years ago
1.1.23
3 years ago
1.1.27
3 years ago
1.1.26
3 years ago
1.1.25
3 years ago
1.1.24
3 years ago
1.1.19
3 years ago
1.1.18
3 years ago
1.1.17
3 years ago
1.1.21
3 years ago
1.1.20
3 years ago
1.1.16
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.1.12
3 years ago
1.0.11
3 years ago
1.0.10
3 years ago
1.1.15
3 years ago
1.1.14
3 years ago
1.1.13
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago