customer-map-mst
v0.1.8
Published
This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).
Downloads
2
Readme
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: ,
}]}
}