Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

WV-459: CRS value now used for projection

Mike McGanncbebd0b0e549
diff --git a/src/js/Worldview/Map/MapSet.js b/src/js/Worldview/Map/MapSet.js
index 6a70889bb..78cd2a5d4 100644
--- a/src/js/Worldview/Map/MapSet.js
+++ b/src/js/Worldview/Map/MapSet.js
@@ -417,6 +417,10 @@ Worldview.Map.MapSet = function(containerId, mapConfig, component) {
var createMap = function($div, id, projection, spec) {
var config = $.extend(true, {}, spec);
+ // OpenLayers uses "projection" for the map object. We use "crs"
+ // instead
+ config.projection = config.crs;
+
// Zooming feature is not as fluid as advertised
config.zoomMethod = null;
// Don't let OpenLayers fetch the stylesheet -- that is included