You can change the default icons used as driver and store pin on the map by configuring the "driverIcon ‘, "destinationIcon" and ’storeIcon ” parameters. It can be used in conjunction with the "status" and "map" libraries.
Specific configuration parameters
Parameter | Description |
---|---|
driverIcon | Allows you to custom the driver's icon on map |
storeIcon | Allows you to custom the store icon on map |
destinationIcon | Allows you to custom the destination icon on map |
Usage Example
Consider the following example:
https://xandar-lsw-v3.instaleap.io/map?job=myJoB&token=myToken&driverIcon=driver-icon-url&storeIcon=store-icon-url&destinationIcon=destination-icon-url
You will see the following content: