var HOST = location.protocol + "//" + location.host; var CONTEXT = ""; var SGMA_HOST = 'https://water.ca.gov/projecttracking'; var baseLayers = []; var layers = []; var tabs = []; layers.push({ "type": "simple", "url": "https://gis.water.ca.gov/arcgis/rest/services/Environment/i07_Habitat_Restoration_Polygons/FeatureServer", "title": "Dos Rios Ranch Floodplain Expansion and Ecosystem Restoration Project", "opacity": 0.72, "options": { "projectId": 964, "uniqueid": 1273, "layerName": "Dos Rios Ranch Floodplain Expansion and Ecosystem Restoration Project", "defaultZoomTo": true, "defaultLayerDef": ["(project_id = 'FL0964')"] }, "startEnabled": true, "layers": [0] }); baseLayers.push({ "type": "generic", "url": "https://coord.water.ca.gov/service/document/download/3171", "opacity": 0.72, "options": { "customSymbol": { "type": "uniqueValue", "uvrJson": { "type": "uniqueValue", "field1": "BANK_TYPE", "field2": null, "field3": null, "fieldDelimiter": ", ", "defaultSymbol": null, "defaultLabel": null, "uniqueValueInfos": [ { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 38, 115, 0, 255 ], "width": 1.7 }, "value": "natural", "label": "Natural", "description": "" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 250, 52, 17, 255 ], "width": 1.7 }, "value": "revetment", "label": "Revetment", "description": "" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 156, 156, 156, 255 ], "width": 1.8 }, "value": "no data", "label": "no data", "description": "" } ] } }, "simplify": true, "extension": "zip", "filename": "https://coord.water.ca.gov/service/document/download/3171", "fileid": "https://coord.water.ca.gov/service/document/download/3171", "isFile": true, "uniqueid": 3171 }, "startEnabled": false, "title": "Geomorphic Process - Natural Bank" }); baseLayers.push({ "type": "generic", "url": "https://coord.water.ca.gov/service/document/download/2522", "opacity": 0.72, "options": { "customSymbol": { "type": "uniqueValue", "uvrJson": { "type": "uniqueValue", "field1": "SRA_Nat", "field2": null, "field3": null, "fieldDelimiter": ", ", "defaultSymbol": null, "defaultLabel": null, "uniqueValueInfos": [ { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 56, 168, 0, 255 ], "width": 1.5 }, "value": "Yes", "label": "SRA", "description": "" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 199, 215, 158, 255 ], "width": 0.5 }, "value": "No", "label": "Not SRA", "description": "" } ] } }, "simplify": true, "extension": "zip", "filename": "https://coord.water.ca.gov/service/document/download/2522", "fileid": "https://coord.water.ca.gov/service/document/download/2522", "isFile": true, "uniqueid": 2522 }, "startEnabled": false, "title": "SRA Cover - Natural Bank" }); baseLayers.push({ "type": "generic", "url": "https://coord.water.ca.gov/service/document/download/2521", "opacity": 0.72, "options": { "customSymbol": { "type": "uniqueValue", "uvrJson": { "type": "uniqueValue", "field1": "SRA", "field2": null, "field3": null, "fieldDelimiter": ", ", "defaultSymbol": null, "defaultLabel": null, "uniqueValueInfos": [ { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 56, 168, 0, 255 ], "width": 1.5 }, "value": "Yes", "label": "SRA", "description": "" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 199, 215, 158, 255 ], "width": 0.5 }, "value": "No", "label": "Not SRA", "description": "" } ] } }, "simplify": true, "extension": "zip", "filename": "https://coord.water.ca.gov/service/document/download/2521", "fileid": "https://coord.water.ca.gov/service/document/download/2521", "isFile": true, "uniqueid": 2521 }, "startEnabled": false, "title": "SRA Cover - Riparian Lined Bank" }); baseLayers.push({ "type": "generic", "url": "https://coord.water.ca.gov/service/document/download/2532", "opacity": 0.72, "options": { "customSymbol": { "type": "uniqueValue", "uvrJson": { "type": "uniqueValue", "field1": "Riparian", "field2": null, "field3": null, "fieldDelimiter": ", ", "defaultSymbol": null, "defaultLabel": null, "uniqueValueInfos": [ { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 255, 204, 0, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 255, 255, 255 ], "width": 1 } }, "value": "Yes", "label": "Yes", "description": "" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 76, 115, 0, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 255, 255, 255 ], "width": 1 } }, "value": "No", "label": "No", "description": "" } ] } }, "simplify": true, "extension": "zip", "filename": "https://coord.water.ca.gov/service/document/download/2532", "fileid": "https://coord.water.ca.gov/service/document/download/2532", "isFile": true, "uniqueid": 2532 }, "startEnabled": false, "title": "Riparian Habitat" }); layers.push({ "sortOrder": "", "disabled": 0, "metricShapefileId": 1023, "refId": 864, "metricLookupId": 22, "documentId": 2920, "calcVal": "", "createdBy": 41, "createdDt": "2022-08-23 12:01:12.842058", "updatedBy": "", "updatedDt": "", "projectId": 964, "name": "Geomorphic Process - Natural Bank", "type": "simple", "url": "https://gis.water.ca.gov/arcgis/rest/services/Environment/i07_EcoMetric_Line/FeatureServer", "title": "Geomorphic Process - Natural Bank", "opacity": 0.72, "atlasUniqueId": "FL0964", "options": { "uniqueid": 2920, "layerName": "Geomorphic Process - Natural Bank", "layerType": "feature", "defaultLayerDef": ["(Project_ID = 'FL0964') and (METRIC_TYPE = 'Geomorphic Process - Natural Bank')"] }, "startEnabled": false, "layers": [0] }); layers.push({ "sortOrder": "", "disabled": 0, "metricShapefileId": 1026, "refId": 864, "metricLookupId": 24, "documentId": 2923, "calcVal": "", "createdBy": 41, "createdDt": "2022-08-23 12:01:42.020913", "updatedBy": "", "updatedDt": "", "projectId": 964, "name": "SRA Cover - Riparian Lined Bank", "type": "simple", "url": "https://gis.water.ca.gov/arcgis/rest/services/Environment/i07_EcoMetric_Line/FeatureServer", "title": "SRA Cover - Riparian Lined Bank", "opacity": 0.72, "atlasUniqueId": "FL0964", "options": { "uniqueid": 2923, "layerName": "SRA Cover - Riparian Lined Bank", "layerType": "feature", "defaultLayerDef": ["(Project_ID = 'FL0964') and (METRIC_TYPE = 'SRA Cover - Riparian Lined Bank')"] }, "startEnabled": false, "layers": [0] }); layers.push({ "sortOrder": "", "disabled": 0, "metricShapefileId": 1025, "refId": 864, "metricLookupId": 25, "documentId": 2922, "calcVal": "", "createdBy": 41, "createdDt": "2022-08-23 12:01:33.345874", "updatedBy": "", "updatedDt": "", "projectId": 964, "name": "SRA Cover - Natural Bank", "type": "simple", "url": "https://gis.water.ca.gov/arcgis/rest/services/Environment/i07_EcoMetric_Line/FeatureServer", "title": "SRA Cover - Natural Bank", "opacity": 0.72, "atlasUniqueId": "FL0964", "options": { "uniqueid": 2922, "layerName": "SRA Cover - Natural Bank", "layerType": "feature", "defaultLayerDef": ["(Project_ID = 'FL0964') and (METRIC_TYPE = 'SRA Cover - Natural Bank')"] }, "startEnabled": false, "layers": [0] }); layers.push({ "sortOrder": "", "disabled": 0, "metricShapefileId": 1024, "refId": 864, "metricLookupId": 26, "documentId": 2921, "calcVal": "", "createdBy": 41, "createdDt": "2022-08-23 12:01:23.040893", "updatedBy": "", "updatedDt": "", "projectId": 964, "name": "Riparian Habitat", "type": "simple", "url": "https://gis.water.ca.gov/arcgis/rest/services/Environment/i07_EcoMetric_Polygon/FeatureServer", "title": "Riparian Habitat", "opacity": 0.72, "atlasUniqueId": "FL0964", "options": { "uniqueid": 2921, "layerName": "Riparian Habitat", "layerType": "feature", "defaultLayerDef": ["(Project_ID = 'FL0964') and (METRIC_TYPE = 'Riparian Habitat')"] }, "startEnabled": false, "layers": [0] }); if (baseLayers.length == 0 && layers.length > 0){ layers[0].options.defaultZoomTo = true; } if (baseLayers.length > 0 && layers.length == 0){ baseLayers[0].options.defaultZoomTo = true; } if(true && (layers.length > 0 || false)){ tabs.push({ "type": "empty", "enabled": true, "options": { "tabName": "Project", "defaultZoomTo": false } ,"addtl": layers }); } if(true && (baseLayers.length >0 || false)){ tabs.push({ "type": "empty", "enabled": true, "options": { "tabName": "Existing Condition", "defaultZoomTo": false } ,"addtl": baseLayers }); } if(true){ tabs.push({ "type": "empty", "enabled": true, "options": { "tabName": "Metric", "defaultZoomTo": true } ,"addtl": [] }); } configOptions = { "hideDescription": true, "title": "My Map", "titleUrl": HOST + CONTEXT, "tolerance": "6", "useGeometry": true, "hideNoData": true, "showLayerWin": true, "resizableLayerWin": true, "hideLegendTool": true, "locations_uploader": true, "basemap_gallery": true, "showFullScreen": true, "style": "flat", "hideSingleTab": true, "hideInFeatureTool": true, "useProxy": false, "infowinSaveData": {}, "events":{ "onLayerLoad":function(service){ if(!window.projectBoundary) { window.projectBoundary = true; var updateEnd = service.on('update-end', function(){ if(this.graphics && this.graphics.length > 0) { map.setExtent(this.graphics[0].geometry.getExtent().expand(2)); } updateEnd.remove(); }); } } } ,"map": { "minZoom": "", "maxZoom": "", "extent": { "xmin":-14453448.084026292 ,"ymin":4103893.9537934274 ,"xmax":-12540687.888218552 ,"ymax":5326886.406355922 ,"spatialReference":{ "wkid":102100 ,"latestWkid":3857 } } }, "events": { "onMapLoad": function(){ $('#serviceNode').css({'font-size': '12px'}) } }, "tabs": tabs, "title_option": "Sites", "appLabel": "", "hideTitleBar": true, "disableMenuPanout": false, "hasMultiAppAccess": false, "showDisclaimer": false, "disclaimer": "", "disableDisclaimerDisableOption": false, "hideEditTool": false, "hideSaveTool": false, "useInfoGrid": false, "enableDownloadWindow": false, "hideToolsBar": false, "hideLayersTool": false, "hideBasemapTool": false, "hideMeasureTool": true, "hidePrintTool": true, "hideFullscreenTool": true, "hideEmbedTool": true, "hideBookmarkTool": true, "hideDrawingTool": true, "hideSelectTool": true, "hideSearchBar": true, "hideSelectedBoundary": false, "hideSelectInFeatureButton": false, "hideZoomToButton": false, "hideLayerOptions": false, "hideLeveeMileTool": true, "alwayShowLayerBar": false, "hideLegendToggle": true, "hideLayerSettingsDropdown": false, "hideOpacitySlider": false, "hideLayerDownload": false, "makeInfowindowDraggable": false, "disableClicks": false, "featureSetInfowin": false, "infowindow_width": "", "infowindow_height": "", "layerwindow_height": "", "layerwindow_width": "", "geometryServiceUrl": "", "login": {"requireLogin": false} }