customer-map-mst

0.1.8 • Public • Published

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: ,
  }]}
}

/customer-map-mst/

    Package Sidebar

    Install

    npm i customer-map-mst

    Weekly Downloads

    7

    Version

    0.1.8

    License

    none

    Last publish

    Collaborators

    • jithuk123