Project

General

Profile

Revision 3086

Added by perry over 14 years ago

Beta version of openalayers wms interface

View differences:

lib/style/common/spatial_templates/openlayers1/map.html
26 26

  
27 27
        function init(){
28 28
            var bounds = new OpenLayers.Bounds(-180,-90,180,90);
29
            var map = new OpenLayers.Map('map', { controls: [], 'maxExtent':bounds, 'maxResolution':'auto'});
29
            var map = new OpenLayers.Map('map', { 'maxExtent':bounds, 'maxResolution':'auto'});
30 30
            //var map = new OpenLayers.Map('map', { controls: [] });
31 31

  
32 32
            var metacat_points = new OpenLayers.Layer.WMS( "Metacat Doc Points",
......
66 66

  
67 67

  
68 68
            map.addLayers([world_borders,jpl_wms, ol_wms, demis, metacat_points, metacat_bounds]);
69
            map.addControl(new OpenLayers.Control.PanZoomBar());
69
            //map.addControl(new OpenLayers.Control.PanZoomBar());
70 70
            //map.addControl(new OpenLayers.Control.MouseToolbar());
71 71
            map.addControl(new OpenLayers.Control.LayerSwitcher());
72 72
            //map.addControl(new OpenLayers.Control.Permalink());

Also available in: Unified diff