x-cite-google-map

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i x-cite-google-map

Weekly Downloads

3

Version

1.0.1

License

none

Unpacked Size

1.73 MB

Total Files

7

Last publish

Collaborators

  • jameleddine