x-cite-google-map
v1.0.1
Published
google map package
Downloads
4
Maintainers
Readme
This project was bootstrapped with x-cite.io project.
Available Scripts
In you project directory, run this script to install the package:
npm i x-cite-google-map
yarn add x-cite-google-map
To start using the package , import the module into your component
import { Map } from 'x-cite-google-map'
Then use it in your app, those are the props that can be used:
<Map markers={reports} fields={['firstName','lastName','mobilePhone']} icon={icon}/>
markers
array for the list of reports with geolocation data
fields
the list of fields you want to display in the infoWindow
icon
the marker icon you want to use it in the map