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: ,
}]}
}
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 0.1.8
1
Version History
Package Sidebar
Install
Weekly Downloads