diff options
author | Dave Arter <davea@mysociety.org> | 2016-01-26 13:51:50 +0000 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2016-03-29 17:49:37 +0100 |
commit | 822fe33f679d4c84cb7bece3a5243fb91d45e857 (patch) | |
tree | 17c456059bbb087135a9adc7f863beb2b3bb6e8c /data | |
parent | 58a000d3095f0d3d327365af0f6d7bb4178bb5bb (diff) |
[Angus] Add clickable street light layer to report map
Angus provide a WFS endpoint for their existing streetlight assets
and known faults.
This commit:
- Displays clickable markers when the 'street lighting' category is selected
on the report a problem page.
- Displays known faults on the map
- Includes a custom OpenLayers build for the Angus cobrand that
includes WFS support
The custom code for adding the layers to the map is within
position_map.js, as this seemed to be currently the best place
for cobrand-specific map logic.
Diffstat (limited to 'data')
-rw-r--r-- | data/angus/openlayers.angus.cfg | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/data/angus/openlayers.angus.cfg b/data/angus/openlayers.angus.cfg new file mode 100644 index 000000000..c8e18dee8 --- /dev/null +++ b/data/angus/openlayers.angus.cfg @@ -0,0 +1,50 @@ +# This file includes the OpenLayers code that FixMyStreet currently uses. + +[first] + +[last] + +[include] +# Have to include the renderers manually +OpenLayers/Renderer/Canvas.js +OpenLayers/Renderer/SVG.js +OpenLayers/Renderer/VML.js +OpenLayers/Strategy/Fixed.js +OpenLayers/Strategy/BBOX.js +OpenLayers/Control/ArgParser.js +OpenLayers/Control/Attribution.js +OpenLayers/Control/DragFeature.js +OpenLayers/Control/Navigation.js +OpenLayers/Control/PanZoom.js +OpenLayers/Control/PinchZoom.js +OpenLayers/Control/Permalink.js +OpenLayers/Control/SelectFeature.js +OpenLayers/Format/JSON.js +OpenLayers/Format/KML.js +OpenLayers/Handler/Click.js +OpenLayers/Feature/Vector.js +OpenLayers/Rule.js +OpenLayers/Style.js +OpenLayers/StyleMap.js +OpenLayers/Geometry/Point.js +OpenLayers/Protocol/HTTP.js +OpenLayers/Layer/Vector.js +OpenLayers/Layer/OSM.js +OpenLayers/Popup/FramedCloud.js +# Needed by Protocol/HTTP (for Strategy/BBOX bbox) +# This loads in needed Filters too. +OpenLayers/Format/QueryStringFilter.js +# For Angus cobrand +OpenLayers/Format/WFS.js +OpenLayers/Format/WFSCapabilities.js +OpenLayers/Format/WFSCapabilities/v1.js +OpenLayers/Format/WFSCapabilities/v1_0_0.js +OpenLayers/Format/WFSCapabilities/v1_1_0.js +OpenLayers/Format/WFSDescribeFeatureType.js +OpenLayers/Protocol/WFS.js +OpenLayers/Protocol/WFS/v1.js +OpenLayers/Protocol/WFS/v1_0_0.js +OpenLayers/Protocol/WFS/v1_1_0.js + +[exclude] + |