|
@@ -186,9 +186,13 @@ function addLocationMarker(location) {
|
|
|
map: map
|
|
map: map
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
- if(location.icon) options.icon = "/img/markers/" + location.icon;
|
|
|
|
|
- if(location.doNotTest) options.icon = "/img/markers/do_not_test.png";
|
|
|
|
|
- if(location.closed) options.icon = "/img/markers/closed.png";
|
|
|
|
|
|
|
+ if(location.icon) {
|
|
|
|
|
+ options.icon = "/img/markers/" + location.icon;
|
|
|
|
|
+ }
|
|
|
|
|
+ else {
|
|
|
|
|
+ if(location.doNotTest) options.icon = "/img/markers/do_not_test.png";
|
|
|
|
|
+ if(location.closed) options.icon = "/img/markers/closed.png";
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
infoWindow.setContent("");
|
|
infoWindow.setContent("");
|
|
|
|
|
|