aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/angus/js.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/cobrands/angus/js.js')
-rw-r--r--web/cobrands/angus/js.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/cobrands/angus/js.js b/web/cobrands/angus/js.js
index af70fd92f..f3e7bf211 100644
--- a/web/cobrands/angus/js.js
+++ b/web/cobrands/angus/js.js
@@ -1,3 +1,9 @@
+(function(){
+
+if (!fixmystreet.maps) {
+ return;
+}
+
$(fixmystreet.add_assets({
wfs_url: "https://data.angus.gov.uk/geoserver/services/wfs",
wfs_feature: "lighting_column_v",
@@ -13,3 +19,5 @@ $(fixmystreet.add_assets({
},
geometryName: 'g'
}));
+
+})();