0.1.8 • Published 7 years ago

customer-map-mst v0.1.8

Weekly downloads
21
License
-
Repository
-
Last release
7 years ago

This project was bootstrapped with Create React App.

How to make it work ?

  • npm install customer-map-mst to install the package
  • Include the Google maps JS api in the index.html

Usage

import {CustomerMapComponent} from 'customer-map-mst';

class Sample extends Component {
  render() {
    // ...
    <CustomerMapComponent customers={list_of_customers}/>
  }
}

JSON format required for customer list

{
  customerList: {
  customers: [{
    custNumber: "",
    custName: "",
    latitude: ,
    longitude: ,
  }]}
}