diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-12-09 16:50:03 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-12-09 16:50:03 +0000 |
commit | 93180a49cb9f56cd92c97ea1e22cf5cc9dd7194a (patch) | |
tree | 6901912029abbba1332a04f5b310dfb31bee7c99 /web/js/map-OpenLayers.js | |
parent | e21a1886027956c45daed48edda7035719bcdf13 (diff) |
Load OpenLayers stylesheet directly, not via JS.
This lets us version and cache-bust it as necessary, plus let
browser decide how to load it, we're always going to need it.
Diffstat (limited to 'web/js/map-OpenLayers.js')
-rw-r--r-- | web/js/map-OpenLayers.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js index 3de8e4d1f..a3cefa7da 100644 --- a/web/js/map-OpenLayers.js +++ b/web/js/map-OpenLayers.js @@ -606,6 +606,7 @@ var fixmystreet = fixmystreet || {}; // Create the basics of the map fixmystreet.map = new OpenLayers.Map( "map", OpenLayers.Util.extend({ + theme: null, controls: fixmystreet.controls, displayProjection: new OpenLayers.Projection("EPSG:4326") }, fixmystreet.map_options) |