Creating new reference:
To achieve this you need to go to the shop-locator.js file. There you will find displayMarkers function. You will need to add there an extra reference for the .json file
1 |
icon: markerTable.icon |
Just like you can see on this image below:
![add icon](http://i.imgur.com/wlbjs45.png)
adding reference
Now you can add different marker for each place you want to show on your map.
Adding markers:
Just go to the .json file where you are keeping all the json marker and add new field with the path to the image you want to use:
![adding new field](http://i.imgur.com/BbT2GAN.png)
adding new field
Please remember: All of the locations in the .json file need to have icon field with the path to the image.