LaGrangeMtl / WhatsNearby

A jQuery plugin to list and show nearby places around a certain position using Google Maps.
MIT License
87 stars 23 forks source link

array of places types #1

Open ghost opened 9 years ago

ghost commented 9 years ago

Hi, I set the place type and icon like below. placesTypes : ['store', 'gym', 'cafe', 'spa', 'atm'], //an array of places types placesTypesIcon : [ '/assets/admin/img/map_icons/shop.png', '/assets/admin/img/map_icons/gym.png', '/assets/admin/img/map_icons/cafe.png', '/assets/admin/img/map_icons/spa.png', '/assets/admin/img/map_icons/dollar.png', ],

But sometimes some place didnt show the marker, if i remove one place then if showing up. If i added new type then some marker disappear again. Any clue ?

Thanks,

MaximeDesRoches commented 9 years ago

Sorry for the late answer, have you excluded some places types during WhatsNearby's activation ? Do you have a live example of the error ?

bhautik3 commented 8 years ago

How can we change the icon for each place(i.e. 'store', 'gym', 'cafe')?