Project

General

Profile

« Previous | Next » 

Revision b8deaebb

Added by Andreas Kohlbecker about 2 years ago

  • ID b8deaebbddfca88b37872de2ff4fa8340c270d6e
  • Parent 9f6a59a6

ref #9917 removing etopo1 layers with db update method - needs testing

View differences:

modules/cdm_dataportal/js/map/openlayers_layers.js
66 66
              }
67 67
            );
68 68

  
69
         /**
70
          * ETOPO1 Global Relief Model
71
          */
72
         case 'edit-etopo1':
73
            return  new OpenLayers.Layer.WMS(
74
                  "ETOPO1 Global Relief Model",
75
                  "https://edit.africamuseum.be/geoserver/topp/wms",
76
                  {layers: 'topp:color_etopo1_ice_full', format:"image/png"},
77
                  {
78
                    maxExtent: window.CdmOpenLayers.mapExtends.epsg_4326,
79
                    projection: new OpenLayers.Projection("EPSG:4326"),
80
                    isBaseLayer: true,
81
                    displayInLayerSwitcher: true
82
                  }
83
                );
84

  
85
        /**
86
         * ETOPO1 Global Relief Model
87
         */
88
          case 'mapproxy_etopo1':
89
            return  new OpenLayers.Layer.WMS(
90
              "ETOPO1 Global Relief Model via mapproxy",
91
              "https://geo.cybertaxonomy.org/mapproxy/service",
92
              {layers: 'etopo1', format:"image/png"},
93
              {
94
                maxExtent: window.CdmOpenLayers.mapExtends.epsg_4326,
95
                projection: new OpenLayers.Projection("EPSG:4326"),
96
                isBaseLayer: true,
97
                displayInLayerSwitcher: true
98
              }
99
            );
100

  
101 69
          /*
102 70
           * OSM Layers:
103 71
           *

Also available in: Unified diff