diff --git a/applefruitmoth/static/applefruitmoth/js/map.js b/applefruitmoth/static/applefruitmoth/js/map.js index 9730a1449c484ddce2754c9e7fa68417c0472533..628a76b4019a18d294a428947c25b1b41dcddc75 100644 --- a/applefruitmoth/static/applefruitmoth/js/map.js +++ b/applefruitmoth/static/applefruitmoth/js/map.js @@ -32,7 +32,7 @@ var initMap = function(container, mapAttribution) forecastLayer = new ol.layer.Vector({ source: new ol.source.Vector({ - url: "http://" + settings.vipslogicServerName + "/rest/applefruitmoth/observationsites/kml/2016", + url: "http://" + settings.vipslogicServerName + "/rest/applefruitmoth/observationsites/kml/", format: new ol.format.KML({"extractAttributes":true}), projection: ol.proj.get('EPSG:3857') })