Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Re-enabled graticule control

Ryan Boller6c71b001c57b
diff --git a/js/map.js b/js/map.js
index 82fbfe71b..380968a67 100644
--- a/js/map.js
+++ b/js/map.js
@@ -318,15 +318,15 @@ SOTE.widget.Map.prototype.init = function(){
fontOpacity: 1.0
}
);
- /* this.graticule = new OpenLayers.Control.Graticule({
+ this.graticule = new OpenLayers.Control.Graticule({
layerName: 'ol_graticule',
numPoints: 2,
labelled: true,
lineSymbolizer: graticuleLineStyle,
labelSymbolizer: graticuleLabelStyle
});
- */
- // this.map.addControl(this.graticule);
+
+ this.map.addControl(this.graticule);
// Set mousewheel sensitivity
var navControl = this.map.getControlsByClass("OpenLayers.Control.Navigation")[0];