var HOST = location.protocol + "//" + location.host; var CONTEXT = ""; var SGMA_HOST = 'https://sgma.water.ca.gov/portal'; var layers = []; layers.push({ "type": "generic", "url": HOST + CONTEXT + "/service/event/getinterestedpartieslocations;jsessionid=A56C3BEAEBFC70718F8E190CC1498F6B", "title": "Interested Parties", "opacity": 0.72, "options": { esrifeatureset: true, "uniqueid": 1, "windowConfig": { "layerOption": null, "iconradio": false } }, "layers": [{}], "startEnabled": true }); var filters = []; layers.push({ "type": "generic", "url": SGMA_HOST + "/service/gsadocument/exclusivegsa", "title": "Kaweah GSA", "opacity": 0.72, "options": { "filter": filters, "graphicsOpacity": 0.7, "layerName": "Kaweah GSA", "filename": SGMA_HOST + "/service/gsadocument/exclusivegsa", "extension": "zip", "fileid": SGMA_HOST + "/service/gsadocument/exclusivegsa", "isFile": true, "uniqueid": 2, "parameters": [], /* "color": { "r": 51, "g": 183, "b": 25 }, "outline": { "r": 0, "g": 0, "b": 0, "opacity": 1 },/**/ "useIconMarker": false, "style": "circle", "symbol_size": "8", "reloaded": true, "events": {}, "layerDefinition": { "objectIdField": "OBJECT_ID", "geometryType": "esriGeometryPolygon", "fields": [ { "name": "DWR GSA ID", "alias": "DWR GSA ID", "type": "esriFieldTypeString" }, { "name": "GSA Name", "alias": "GSA Name", "type": "esriFieldTypeString" }, { "name": "Basin", "alias": "Basin", "type": "esriFieldTypeString" }, { "name": "Local ID", "alias": "Local ID", "type": "esriFieldTypeString" }, { "name": "Posted DT", "alias": "Posted DT", "type": "esriFieldTypeString" }, { "name": "GSA URL", "alias": "GSA URL", "type": "esriFieldTypeString" }, { "name": "POC Name", "alias": "POC Name", "type": "esriFieldTypeString" }, { "name": "POC Phone", "alias": "POC Phone", "type": "esriFieldTypeString" }, { "name": "POC Email", "alias": "POC Email", "type": "esriFieldTypeString" }, { "name": "GSA_ID", "alias": "GSA_ID", "type": "esriFieldTypeString" }, { "name": "OBJECT_ID", "alias": "OBJECT_ID", "type": "esriFieldTypeOID" } ], "spatialReference": {"wkid": 102100}, "fieldAliases": { "DWR GSA ID": "DWR GSA ID", "GSA Name": "GSA Name", "Basin": "Basin", "Local ID": "Local ID", "Posted DT": "Posted DT", "GSA URL": "GSA URL", "POC Name": "POC Name", "POC Phone": "POC Phone", "POC Email": "POC Email", "GSA_ID": "GSA_ID", "OBJECT_ID": "OBJECT_ID" }, "displayFieldName": "DWR GSA ID", "drawingInfo": {"renderer": { "type": "simple", "symbol": {/* "color": [ 51, 183, 25, 255 ], "outline": { "color": [ 0, 0, 0, 0 ], "width": 1, "type": "esriSLS", "style": "esriSLSSolid" },/**/ "type": "esriSFS", "style": "esriSFSSolid" } }} }, "customSymbol": { "type": "uniqueValue", "uvrJson": { "uniqueValueInfos": [ { "label": "East Kaweah Groundwater Sustainability Agency", "value": "314", "symbol": { "color": [0,255,0,128], "outline": { "color": [0,0,0,255], "width": 1, "type": "esriSLS", "style": "esriSLSSolid" }, "type": "esriSFS", "style": "esriSFSSolid" }, "description": "" }, { "label": "Greater Kaweah Groundwater Sustainability Agency", "value": "281", "symbol": { "color": [255,0,255,128], "outline": { "color": [0,0,0,255], "width": 1, "type": "esriSLS", "style": "esriSLSSolid" }, "type": "esriSFS", "style": "esriSFSSolid" }, "description": "" }, { "label": "Mid-Kaweah Groundwater Subbasin Joint Powers Authority", "value": "7", "symbol": { "color": [255,0,0,255], "outline": { "color": [0,0,0,255], "width": 1, "type": "esriSLS", "style": "esriSLSSolid" }, "type": "esriSFS", "style": "esriSFSSolid" }, "description": "" } ], "field1": "GSA_ID", "type": "uniqueValue" } }, "windowConfig": { "layerOption": null, "iconradio": false } }, "layers": [{}], "startEnabled": true }); layers.push({ "type": "simple", "url": "https://gis.water.ca.gov/arcgis/rest/services/Boundaries/i03_CaliforniaCounties/MapServer", "layers": [0], "startEnabled": true, "opacity": 0.72, "title": "Counties", "options": { "uniqueid": 5, "reloaded": true, "events": {}, "layerName": "Counties" } }); layers.push({ "type": "simple", "url": "https://gis.water.ca.gov/arcgis/rest/services/Geoscientific/i08_B118_CA_GroundwaterBasins/MapServer", "layers": [0], "startEnabled": true, "opacity": 0.72, "title": "Bulletin 118 Groundwater Basins", "options": { "uniqueid": 6, "reloaded": true, "events": {}, "layerName": "Bulletin 118 Groundwater Basins" } }); configOptions = { "hideDescription": true, "title": "GSA Map", "titleUrl": HOST + CONTEXT, "tolerance": "6", "useGeometry": true, "hideNoData": true, "showLayerWin": true, "resizableLayerWin": false, "hideLegendTool": false, "locations_uploader": true, "basemap_gallery": true, "showFullScreen": true, "style": "flat", "hideSingleTab": true, "hideInFeatureTool": true, "useProxy": false, "infowinSaveData": {}, "map": { "minZoom": "", "maxZoom": "", "extent": { "xmin": -1.3366720940663416E7, "ymin": 4285746.895284455, "xmax": -1.3171042148253627E7, "ymax": 4387790.328045027, "spatialReference": {"wkid": 102100} } }, "tabs": [{ "type": "empty", "enabled": true, "options": {"tabName": "Custom Tab"} ,"addtl": layers }], "title_option": "My Map", "appLabel": "", "hideTitleBar": false, "disableMenuPanout": false, "hasMultiAppAccess": false, "showDisclaimer": false, "disclaimer": "", "disableDisclaimerDisableOption": false, "hideEditTool": false, "hideSaveTool": false, "useInfoGrid": false, "enableDownloadWindow": false, "hideToolsBar": false, "hideLayersTool": false, "hideBasemapTool": false, "hideMeasureTool": false, "hidePrintTool": false, "hideFullscreenTool": false, "hideEmbedTool": false, "hideBookmarkTool": false, "hideDrawingTool": false, "hideSelectTool": false, "hideSearchBar": false, "hideSelectedBoundary": false, "hideSelectInFeatureButton": false, "hideZoomToButton": false, "hideLayerOptions": false, "alwayShowLayerBar": false, "hideLegendToggle": false, "hideLayerSettingsDropdown": false, "hideOpacitySlider": false, "hideLayerDownload": false, "makeInfowindowDraggable": false, "disableClicks": false, "featureSetInfowin": false, "infowindow_width": "", "infowindow_height": "", "layerwindow_height": "", "layerwindow_width": "", "geometryServiceUrl": "", "login": {"requireLogin": false} }