map_config_callback({ "serverSettings" : { "mapserverIP" : "", "tilecacheIP" : "", "proxyHost" : "http://carolinasrcoos.org/proxy-bin/AjaxProxy.php?url=" }, "googleAnalyticsKey" : "UA-3867608-4", "tabs" : [ { "name" : "Realtime Observations", "layerTreeName" : "Real Time Layers", "toolbarGroupName" : "rtmap", "mapConfig" : { "mapExtents" : { "lowerLeft" : { "lon" : -90.5, "lat" : 24.5 }, "upperRight" : { "lon" : -60.5, "lat" : 37.2 }, "centerMapOn" : { "lon" : -74.5, "lat" : 32.9 } }, "numZoomLevels": 9, "maxResolution": 2445.984904688, "resolutions": [2445.984904688,1222.992452344,611.496226172,305.748113086,152.874056543,76.437028271,38.218514136,19.109257068,9.554628534,4.777314267,2.388657133,1.194328567,0.59716428337097171575,0.298582142], "projection": "EPSG:900913", "displayProjection": "EPSG:4326", "units": "degrees", "layers" : [ { "folder" : "BaseLayers" , "children" : { "Google Terrain" : { "type" : "OpenLayers.Layer.Google", "options": { "sphericalMercator": true, "type": "G_PHYSICAL_MAP", "MIN_ZOOM_LEVEL": 6, "MAX_ZOOM_LEVEL": 15, "displayInLayerSwitcher": true, "GROUP" : "BaseMap" } }, "Google Hybrid" : { "type" : "OpenLayers.Layer.Google", "options": { "sphericalMercator": true, "type": "G_HYBRID_MAP", "MIN_ZOOM_LEVEL": 6, "MAX_ZOOM_LEVEL": 15, "displayInLayerSwitcher": true, "GROUP" : "BaseMap" } } } }, { "folder" : "Map Overlay", "children" : { "Latitude/Longitude Grid": { "type": "OpenLayers.Layer.WMS", "url": "http://129.252.139.124/cgi-bin/mapserv?", "params": { "map" : "/home/xeniaprod/mapping/common/general.map", "TRANSPARENT" : true, "LAYERS" : "latlonggrid", "FORMAT": "image/png" }, "options": { "singleTile": true, "ratio": 1, "GROUP" : "Map Overlay", "visibility": false, "QUERYABLE": false, "opacitySlider": false }, "EnableGetFeatureInfo": false }, "Bathymetry": { "type" : "OpenLayers.Layer.WMS", "url" : "http://129.252.139.124/tilecache/tilecache.py?", "params": { "TRANSPARENT" : true, "LAYERS" : "Bathy" }, "options": { "attribution": "Bathymetry layer", "GROUP" : "Map Overlay", "visibility": false, "QUERYABLE": false, "opacitySlider": false }, "EnableGetFeatureInfo": false }, "EarthNC Charts" : { "type" : "rcoosmapping.earthNCCharts", "url" : "http://earthncseamless.s3.amazonaws.com/${z}/${x}/${y}.png", "options": { "isBaseLayer": false, "sphericalMercator": true, "displayInLayerSwitcher": true, "GROUP": "Map Overlay", "visibility":false, "TRANSPARENT" : true, "opacitySlider": true, "QUERYABLE": false, "opacitySlider": true, "initialOpacityValue": 50, "attributionLink": "http://carolinasrcoos.org/DataServices.php#earthnc" } } } }, { "folder": "Composite", "children": { "Interpolated Surface Temp": { "type" : "OpenLayers.Layer.WMSEx", "url" : "http://129.252.139.124/tilecache/tilecache.py?", "params": { "LAYERS": "oi_sst", "SRS": "epsg:4269", "FORMAT": "image/png", "TRANSPARENT": true, "TIME_OFFSET_HOURS": 3 }, "options": { "GROUP" : "Composite", "visibility": false, "QUERYABLE": false, "opacitySlider": true, "alwaysRefresh": true, "attribution": "Provided by Ocean Circulation Group at the Institute for Marine Remote Sensing (IMaRS)", "attributionLink": "http://carolinasrcoos.org/DataServices.php#imars" }, "EnableGetFeatureInfo": false }, "MODIS Sea Surface Temp": { "type" : "OpenLayers.Layer.WMSEx", "url" : "http://129.252.139.124/tilecache/tilecache.py?", "params": { "LAYERS": "modis_sst", "SRS": "epsg:4269", "FORMAT": "image/png", "TRANSPARENT": true, "TIME_OFFSET_HOURS": 2 }, "options": { "GROUP" : "Composite", "visibility": false, "QUERYABLE": false, "opacitySlider": true, "alwaysRefresh": true, "attribution": "Provided by Ocean Circulation Group at the Institute for Marine Remote Sensing (IMaRS)", "attributionLink": "http://carolinasrcoos.org/DataServices.php#imars" }, "EnableGetFeatureInfo": false }, "MODIS Cloud Cover": { "type" : "OpenLayers.Layer.WMSEx", "url" : "http://129.252.139.124/tilecache/tilecache.py?", "params": { "LAYERS": "modis_rgb", "SRS": "epsg:4269", "FORMAT": "image/png", "TRANSPARENT": true, "TIME_OFFSET_HOURS": 2 }, "options": { "GROUP" : "Composite", "visibility": false, "QUERYABLE": false, "opacitySlider": true, "alwaysRefresh": true, "attribution": "Provided by Ocean Circulation Group at the Institute for Marine Remote Sensing (IMaRS)", "attributionLink": "http://carolinasrcoos.org/DataServices.php#imars" }, "EnableGetFeatureInfo": false } } }, { "folder": "Radar", "children": { "Surface Currents": { "type" : "OpenLayers.Layer.WMS", "url" : "http://secoora.net/ncogc/currents_rs_wrapper_tst?", "params": { "LAYERS": "RADAR", "SRS": "epsg:4326", "FORMAT": "image/png", "TRANSPARENT": true, "TIME_OFFSET_HOURS": 2 }, "options": { "GROUP" : "Radar", "visibility": false, "QUERYABLE": false, "opacitySlider": true }, "EnableGetFeatureInfo": false } } }, { "folder": "InSitu", "children": { "Sea Surface Temperature": { "type" : "OpenLayers.Layer.WMSEx", "url" : "http://129.252.139.124/tilecache/tilecache.py?", "params": { "LAYERS": "sst_obs_hourly_recent", "SRS": "epsg:4326", "FORMAT": "image/png", "TRANSPARENT": true, "TIME_OFFSET_HOURS": 2 }, "options": { "displayInLayerSwitcher": true, "visibility": false, "GROUP" : "InSitu", "QUERYABLE": false, "visibility": false, "alwaysRefresh": true }, "EnableGetFeatureInfo": false, "zIndexDelta" : 2 }, "Water Level": { "type" : "OpenLayers.Layer.WMSEx", "url" : "http://129.252.139.124/tilecache/tilecache.py?", "params": { "LAYERS": "water_level_obs_hourly_recent", "SRS": "epsg:4326", "FORMAT": "image/png", "TRANSPARENT": true, "TIME_OFFSET_HOURS": 2 }, "options": { "displayInLayerSwitcher": true, "visibility": false, "GROUP" : "InSitu", "QUERYABLE": false, "visibility": false, "alwaysRefresh": true }, "EnableGetFeatureInfo": false, "zIndexDelta" : 2 }, "In-Situ Winds": { "type" : "OpenLayers.Layer.WMSEx", "url" : "http://129.252.139.124/tilecache/tilecache.py?", "params": { "LAYERS": "wind_obs_hourly_recent", "SRS": "epsg:4326", "FORMAT": "image/png", "TRANSPARENT": true, "TIME_OFFSET_HOURS": 2, "WIND_UNITS": "knots", "MAP_SCALEBAR_STATUS": "OFF" }, "options": { "GROUP" : "InSitu", "visibility": false, "QUERYABLE": false, "alwaysRefresh": true }, "EnableGetFeatureInfo": false, "zIndexDelta" : 2 }, "Real Time Observations": { "type" : "rcoosmapping.platformVectorLayer", "url" : "http://129.252.139.124/cgi-bin/mapserv?", "options": { "displayInLayerSwitcher": true, "visibility": false, "GROUP" : "InSitu", "QUERYABLE": true, "visibility": true, "multiple" : true, "rendererOptions": { "zIndexing": true } }, "featuresUrl": "http://neptune.baruch.sc.edu/xenia/feeds/obsjson/mapmeta/crcoos_platform_callback.json", "EnableGetFeatureInfo": true, "active" : true } } }, { "folder": "Recreational", "children": { "NOAA Wrecks and Obstructions": { "type" : "OpenLayers.Layer.WMS", "url" : "http://129.252.139.124/cgi-bin/mapserv?", "params": { "map" : "/home/xeniaprod/mapping/carolinasrcoos/RCOOSRev2.map", "SRS": "epsg:4326", "FORMAT": "image/png", "TRANSPARENT": true, "LAYERS": "WrecksObstructions" }, "options": { "GROUP" : "Recreational", "visibility": false, "QUERYABLE": true }, "EnableGetFeatureInfo": true }, "Artificial Reefs": { "type" : "OpenLayers.Layer.WMS", "url" : "http://129.252.139.124/cgi-bin/mapserv?", "params": { "map" : "/home/xeniaprod/mapping/carolinasrcoos/RCOOSRev2.map", "SRS": "epsg:4326", "FORMAT": "image/png", "TRANSPARENT": true, "LAYERS": "SCDNRReefs,NCReefs" }, "options": { "GROUP" : "Recreational", "visibility": false, "QUERYABLE": true }, "EnableGetFeatureInfo": true }, "Boat Ramps": { "type" : "OpenLayers.Layer.WMS", "url" : "http://129.252.139.124/cgi-bin/mapserv?", "params": { "map" : "/home/xeniaprod/mapping/carolinasrcoos/RCOOSRev2.map", "SRS": "epsg:4326", "FORMAT": "image/png", "TRANSPARENT": true, "LAYERS": "SCBoatRamps,NCBoatRamps" }, "options": { "GROUP" : "Recreational", "visibility": false, "QUERYABLE": true }, "EnableGetFeatureInfo": true } } }, { "folder": "Drifters", "children": { "Drifters 5 day tail": { "type" : "OpenLayers.Layer.WMSEx", "url" : "http://secoora.net/ncogc/drifter_wrapper?", "params": { "SRS": "epsg:4269", "FORMAT": "image/png", "TRANSPARENT": true, "TIME_OFFSET_HOURS": 5, "TAIL": 5, "LAYERS": "drifter_trajectory", "MAP_SCALEBAR_STATUS": "OFF" }, "options": { "GROUP" : "Drifters", "visibility": false, "QUERYABLE": true, "alwaysRefresh": true }, "EnableGetFeatureInfo": true } } } ] } }, { "name" : "Water Quality", "layerTreeName" : "Water Quality Layers", "toolbarGroupName" : "wquality", "mapConfig" : { "mapExtents" : { "lowerLeft" : { "lon" : -90.5, "lat" : 24.5 }, "upperRight" : { "lon" : -60.5, "lat" : 37.2 }, "centerMapOn" : { "lon" : -74.5, "lat" : 32.9 } }, "numZoomLevels": 9, "maxResolution": 2445.984904688, "resolutions": [2445.984904688,1222.992452344,611.496226172,305.748113086,152.874056543,76.437028271,38.218514136,19.109257068,9.554628534,4.777314267,2.388657133,1.194328567,0.59716428337097171575,0.298582142], "projection": "EPSG:900913", "displayProjection": "EPSG:4326", "units": "degrees", "layers" : [ { "folder" : "BaseLayers" , "children" : { "Google Terrain" : { "type" : "OpenLayers.Layer.Google", "options": { "sphericalMercator": true, "type": "G_PHYSICAL_MAP", "MIN_ZOOM_LEVEL": 6, "MAX_ZOOM_LEVEL": 15, "displayInLayerSwitcher": true, "GROUP" : "BaseMap" } } } }, { "folder" : "Map Overlay", "children" : { "Latitude/Longitude Grid": { "type": "OpenLayers.Layer.WMS", "url": "http://129.252.139.124/cgi-bin/mapserv?", "params": { "map" : "/home/xeniaprod/mapping/common/general.map", "TRANSPARENT" : true, "LAYERS" : "latlonggrid", "FORMAT": "image/png" }, "options": { "singleTile": true, "ratio": 1, "GROUP" : "Map Overlay", "visibility": false, "QUERYABLE": false, "opacitySlider": false }, "EnableGetFeatureInfo": false }, "Bathymetry": { "type" : "OpenLayers.Layer.WMS", "url" : "http://129.252.139.124/tilecache/tilecache.py?", "params": { "TRANSPARENT" : true, "LAYERS" : "Bathy" }, "options": { "attribution": "Bathymetry layer", "GROUP" : "Map Overlay", "visibility": false, "QUERYABLE": false, "opacitySlider": false }, "EnableGetFeatureInfo": false } } }, { "folder": "Water Quality", "children": { "Water Quality": { "type" : "OpenLayers.Layer.WMS", "url" : "http://129.252.139.124/cgi-bin/mapserv?", "params": { "map" : "/home/xeniaprod/mapping/common/RCOOSArchive.map", "SRS": "epsg:4326", "FORMAT": "image/png", "TRANSPARENT": true, "LAYERS": "WaterQuality" }, "options": { "GROUP" : "Water Quality", "visibility": true, "QUERYABLE": true }, "EnableGetFeatureInfo": true } } } ] } }, { "name" : "Archival Data", "layerTreeName" : "Archive Layers", "toolbarGroupName" : "archiveMap", "mapConfig" : { "mapExtents" : { "lowerLeft" : { "lon" : -90.5, "lat" : 24.5 }, "upperRight" : { "lon" : -60.5, "lat" : 37.2 }, "centerMapOn" : { "lon" : -74.5, "lat" : 32.9 } }, "numZoomLevels": 9, "maxResolution": 2445.984904688, "resolutions": [2445.984904688,1222.992452344,611.496226172,305.748113086,152.874056543,76.437028271,38.218514136,19.109257068,9.554628534,4.777314267,2.388657133,1.194328567,0.59716428337097171575,0.298582142], "projection": "EPSG:900913", "displayProjection": "EPSG:4326", "units": "degrees", "layers" : [ { "folder" : "BaseLayers" , "children" : { "Google Terrain" : { "type" : "OpenLayers.Layer.Google", "options": { "sphericalMercator": true, "type": "G_PHYSICAL_MAP", "MIN_ZOOM_LEVEL": 6, "MAX_ZOOM_LEVEL": 15, "displayInLayerSwitcher": true, "GROUP" : "BaseMap" } } } }, { "folder" : "Map Overlay", "children" : { "Latitude/Longitude Grid": { "type": "OpenLayers.Layer.WMS", "url": "http://129.252.139.124/cgi-bin/mapserv?", "params": { "map" : "/home/xeniaprod/mapping/common/general.map", "TRANSPARENT" : true, "LAYERS" : "latlonggrid", "FORMAT": "image/png" }, "options": { "singleTile": true, "ratio": 1, "GROUP" : "Map Overlay", "visibility": false, "QUERYABLE": false, "opacitySlider": false }, "EnableGetFeatureInfo": false }, "Bathymetry": { "type" : "OpenLayers.Layer.WMS", "url" : "http://129.252.139.124/tilecache/tilecache.py?", "params": { "TRANSPARENT" : true, "LAYERS" : "Bathy" }, "options": { "attribution": "Bathymetry layer", "GROUP" : "Map Overlay", "visibility": false, "QUERYABLE": false, "opacitySlider": false }, "EnableGetFeatureInfo": false } } }, { "folder": "Archival", "children": { "Archives": { "type" : "OpenLayers.Layer.WMS", "url" : "http://129.252.139.124/cgi-bin/mapserv?", "params": { "map" : "/home/xeniaprod/rcoos/mapserver/RCOOSArchive.map", "SRS": "epsg:4326", "FORMAT": "image/png", "TRANSPARENT": true, "LAYERS": "CORMPArchives" }, "options": { "GROUP" : "Archives", "visibility": true, "QUERYABLE": true }, "EnableGetFeatureInfo": true } } }, { "folder": "MARMAP Conductivity & Temperature", "children": { "1st Quarter 1973-2006": { "type" : "OpenLayers.Layer.WMS", "url" : "http://129.252.139.124/cgi-bin/mapserv?", "params": { "map" : "/home/xeniaprod/rcoos/mapserver/RCOOSArchive.map", "SRS": "epsg:4326", "FORMAT": "image/png", "TRANSPARENT": true, "LAYERS": "ctd_q1" }, "options": { "GROUP" : "MARMAP Conductivity & Temperature", "visibility": false, "QUERYABLE": true }, "EnableGetFeatureInfo": true }, "2nd Quarter 1973-2006": { "type" : "OpenLayers.Layer.WMS", "url" : "http://129.252.139.124/cgi-bin/mapserv?", "params": { "map" : "/home/xeniaprod/rcoos/mapserver/RCOOSArchive.map", "SRS": "epsg:4326", "FORMAT": "image/png", "TRANSPARENT": true, "LAYERS": "ctd_q2" }, "options": { "GROUP" : "MARMAP Conductivity & Temperature", "visibility": false, "QUERYABLE": true }, "EnableGetFeatureInfo": true }, "3rd Quarter 1973-2006": { "type" : "OpenLayers.Layer.WMS", "url" : "http://129.252.139.124/cgi-bin/mapserv?", "params": { "map" : "/home/xeniaprod/rcoos/mapserver/RCOOSArchive.map", "SRS": "epsg:4326", "FORMAT": "image/png", "TRANSPARENT": true, "LAYERS": "ctd_q3" }, "options": { "GROUP" : "MARMAP Conductivity & Temperature", "visibility": false, "QUERYABLE": true }, "EnableGetFeatureInfo": true }, "4th Quarter 1973-2006": { "type" : "OpenLayers.Layer.WMS", "url" : "http://129.252.139.124/cgi-bin/mapserv?", "params": { "map" : "/home/xeniaprod/rcoos/mapserver/RCOOSArchive.map", "SRS": "epsg:4326", "FORMAT": "image/png", "TRANSPARENT": true, "LAYERS": "ctd_q4" }, "options": { "GROUP" : "MARMAP Conductivity & Temperature", "visibility": false, "QUERYABLE": true }, "EnableGetFeatureInfo": true } } } ] } } ] })