Markers

markers has been bound filter toogle and infowindow is generated using template
You don't need to use a switch case for this. You could have simply created a small function which accepts category and returns you the image url.