{ "id": "Dynamic", "displayName": "Base Layers", "shortDisplayName": null, "description": "", "connectionString": "url=https://prod-dmarc.geocortex.com/arcgis/rest/services/LosAngeles/LA_Layers/MapServer", "copyright": "", "hasAttributionData": false, "serviceType": "Dynamic", "serviceFunction": "Operational", "baseMapGroup": null, "baseMapGroupIndex": "", "baseMapGroupIsMutuallyExclusive": false, "opacity": 1, "visible": true, "initiallyVisible": true, "drawingBehavior": "MapService", "iconUri": null, "includeInLayerList": false, "defaultAllowSymbolization": true, "isExpanded": true, "updateInterval": null, "dataProvider": null, "disableClientCaching": false, "serviceTag": "Fa1Txs/qHG3122JT48wExB5iAxxrodL1wt1MKg8Qdqs=", "identifiable": null, "includeMosaicDatasetValues": null, "includeCatalogItems": null, "startTime": null, "endTime": null, "serverVersion": "10.7", "failureAction": "Ignore", "failureTimeout": null, "requestEncoding": null, "supportsDynamicLayers": true, "hasLayerCatalog": false, "format": "Png32", "themeSettings": [ { "themeID": "0" }, { "themeID": "1" }, { "themeID": "2" } ], "layerHyperlinks": [], "tileInfo": {}, "instantSearch": false, "layers": [ { "id": "5", "name": "Elevation Points", "nativeID": "5", "displayName": "Elevation Points", "description": "", "defaultVisibility": false, "featureType": "Point", "type": "FeatureLayer", "maxScale": 0, "minScale": 75000, "visible": false, "initiallyVisible": false, "showMapTips": false, "identifiable": false, "queryable": false, "searchable": false, "supportsIdentify": true, "supportsQuery": true, "canCopyFeature": true, "snappable": false, "snappingEnabled": false, "hasAttachments": false, "featureZoomFactor": null, "featureZoomScale": null, "featureBorderColor": null, "featureBorderWidth": null, "featureFillColor": null, "showFeatureHyperlinks": "ShowAll", "iconUri": null, "includeInLayerList": false, "includeInLegend": false, "allowSymbolization": true, "legendUrl": null, "styleName": null, "drawIndex": null, "canToggleLabels": true, "showLabels": true, "dataProvider": null, "featureLabel": "{Elevation}", "featureDescription": "Elevation: {Elevation} m
Distance: {Distance} m
", "featureLongDescription": null, "displayField": "Elevation", "primaryKeyField": "OBJECTID", "fullExtent": { "xmin": -13237887.247147452, "ymin": 3879935.7928606123, "xmax": -13097983.242157005, "ymax": 4133626.1438272595, "spatialReference": { "wkid": 102100 } }, "parentLayerId": null, "subLayerIds": [], "hasReports": false, "hasDataLinks": false, "fields": [ { "displayName": "OBJECTID", "uniqueValue": true, "name": "OBJECTID", "alias": "OBJECTID", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Shape", "uniqueValue": false, "name": "Shape", "alias": "Shape", "visible": true, "dataType": "Object", "searchable": true, "classBreaks": false }, { "displayName": "Elevation (m)", "uniqueValue": true, "name": "Elevation", "alias": "Elevation (m)", "visible": true, "dataType": "Single", "searchable": true, "classBreaks": true }, { "displayName": "Distance (m)", "uniqueValue": true, "name": "Distance", "alias": "Distance (m)", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true } ], "featureHyperlinks": [], "layerHyperlinks": [], "arcadeExpressions": [], "isDynamic": false, "dynamicDefinition": null, "charts": [ { "id": "Profile", "displayName": "Profile", "chartFeatureType": 1, "defaultChart": true, "chartDefinition": { "area": { "background": [ 255, 255, 255, 255 ], "foreground": [ 0, 0, 0, 255 ], "showToolTips": true, "showLabels": false, "showVerticalStrips": false, "showHorizontalStrips": false, "showVerticalGridLines": false, "showHorizontalGridLines": false, "enableVerticalZoom": true, "enableHorizontalZoom": true, "actionSelect": true, "actionPan": false, "actionZoom": false, "actionFeatureDetails": false, "actionRunCommand": false, "commandName": "", "commandParameter": "", "dragMode": 1, "enableTrackBall": false, "enableCommonSeriesRange": false, "enableColorPalette": false, "colorPalette": 15 }, "chartType": "Linear", "legend": { "title": "Legend", "position": "Right" }, "category": { "field": { "name": "Distance", "displayFormat": "F0", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": true }, "axis": { "visible": true, "title": "Distance (m)", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 1, "showTicks": true, "reverseValues": false } }, "flipChart": false, "visible": true, "series": [ { "id": "0", "displayName": "Elevation", "seriesType": "SplineArea", "field": { "name": "Elevation", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "title": "Elevation", "timeZoneId": "Etc/UTC", "valueFormat": "F2", "color": [ 159, 172, 135, 255 ], "labelType": "None", "markerType": "None", "valueAggregatorName": "Sum", "axis": { "visible": true, "title": "Elevation (m)", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "Elevation", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null } ] } } ], "themeSettings": [ { "themeID": "0" }, { "themeID": "1" }, { "themeID": "2" } ], "tileLevelLimits": [] }, { "id": "7", "name": "Administrative Areas", "nativeID": "7", "displayName": "Administrative Areas", "description": "", "defaultVisibility": true, "featureType": "None", "type": "GroupLayer", "maxScale": 0, "minScale": 0, "visible": true, "initiallyVisible": true, "showMapTips": false, "identifiable": false, "queryable": false, "searchable": false, "supportsIdentify": false, "supportsQuery": false, "canCopyFeature": false, "snappable": false, "snappingEnabled": false, "hasAttachments": false, "featureZoomFactor": null, "featureZoomScale": null, "featureBorderColor": null, "featureBorderWidth": null, "featureFillColor": null, "showFeatureHyperlinks": null, "iconUri": null, "includeInLayerList": true, "includeInLegend": false, "allowSymbolization": true, "legendUrl": null, "styleName": null, "drawIndex": null, "canToggleLabels": false, "showLabels": false, "dataProvider": null, "featureLabel": null, "featureDescription": null, "featureLongDescription": null, "isExpanded": false, "displayField": "", "primaryKeyField": "", "fullExtent": { "xmin": -13240879.3548, "ymin": 3863103.2118554637, "xmax": -13096249.4715, "ymax": 4139907.7133999988, "spatialReference": { "wkid": 102100 } }, "parentLayerId": null, "subLayerIds": [ "8", "9", "10", "11", "12", "13", "14", "15", "16" ], "hasReports": false, "hasDataLinks": false, "fields": [], "featureHyperlinks": [], "layerHyperlinks": [], "arcadeExpressions": [], "isDynamic": false, "dynamicDefinition": null, "themeSettings": [ { "themeID": "0" }, { "themeID": "1" }, { "themeID": "2" } ], "tileLevelLimits": [] }, { "id": "8", "name": "Service Planning Areas", "nativeID": "8", "displayName": "Service Planning Areas", "description": "", "defaultVisibility": false, "featureType": "Polygon", "type": "FeatureLayer", "maxScale": 0, "minScale": 1000000, "visible": false, "initiallyVisible": false, "showMapTips": false, "identifiable": false, "queryable": false, "searchable": false, "supportsIdentify": true, "supportsQuery": true, "canCopyFeature": true, "snappable": true, "snappingEnabled": false, "hasAttachments": false, "featureZoomFactor": null, "featureZoomScale": null, "featureBorderColor": null, "featureBorderWidth": null, "featureFillColor": null, "showFeatureHyperlinks": "ShowAll", "iconUri": null, "includeInLayerList": false, "includeInLegend": false, "allowSymbolization": true, "legendUrl": null, "styleName": null, "drawIndex": null, "canToggleLabels": true, "showLabels": true, "dataProvider": null, "featureLabel": "{SPA_NAME}", "featureDescription": null, "featureLongDescription": null, "displayField": "SPA_NAME", "primaryKeyField": "OBJECTID", "fullExtent": { "xmin": -13240862.4055, "ymin": 3868151.7426000014, "xmax": -13096334.4473, "ymax": 4139894.0622000024, "spatialReference": { "wkid": 102100 } }, "parentLayerId": "7", "subLayerIds": [], "hasReports": false, "hasDataLinks": false, "fields": [ { "displayName": "Shape", "uniqueValue": false, "name": "Shape", "alias": "Shape", "visible": true, "dataType": "Object", "searchable": true, "classBreaks": false }, { "displayName": "Name", "uniqueValue": true, "name": "SPA_NAME", "alias": "Name", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "Label", "uniqueValue": true, "name": "LABEL", "alias": "Label", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "OBJECTID", "uniqueValue": true, "name": "OBJECTID", "alias": "OBJECTID", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Shape_Length", "uniqueValue": true, "name": "Shape_Length", "alias": "Shape_Length", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "Shape_Area", "uniqueValue": true, "name": "Shape_Area", "alias": "Shape_Area", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true } ], "featureHyperlinks": [], "layerHyperlinks": [], "arcadeExpressions": [], "isDynamic": false, "dynamicDefinition": null, "themeSettings": [ { "themeID": "0" }, { "themeID": "1" }, { "themeID": "2" } ], "tileLevelLimits": [] }, { "id": "9", "name": "Communities", "nativeID": "9", "displayName": "Communities", "description": "The Communities Layer contains boundaries for Cities and Communities in the County of Los Angeles - revised July 5, 2006", "defaultVisibility": true, "featureType": "Polygon", "type": "FeatureLayer", "maxScale": 10000, "minScale": 300000, "visible": false, "initiallyVisible": false, "showMapTips": false, "identifiable": false, "queryable": false, "searchable": false, "supportsIdentify": true, "supportsQuery": true, "canCopyFeature": true, "snappable": false, "snappingEnabled": false, "hasAttachments": false, "featureZoomFactor": null, "featureZoomScale": null, "featureBorderColor": null, "featureBorderWidth": null, "featureFillColor": null, "showFeatureHyperlinks": "ShowAll", "iconUri": null, "includeInLayerList": false, "includeInLegend": false, "allowSymbolization": false, "legendUrl": null, "styleName": null, "drawIndex": null, "canToggleLabels": true, "showLabels": true, "dataProvider": null, "featureLabel": "{NAME}", "featureDescription": "{COMMTYPE} Community", "featureLongDescription": null, "displayField": "NAME", "primaryKeyField": "OBJECTID", "fullExtent": { "xmin": -13240855.928199999, "ymin": 3868874.7902999967, "xmax": -13096793.7108, "ymax": 4139887.0612000003, "spatialReference": { "wkid": 102100 } }, "parentLayerId": "7", "subLayerIds": [], "hasReports": false, "hasDataLinks": false, "fields": [ { "name": "OBJECTID", "visible": false, "dataType": "Int32", "displayName": "OBJECTID", "alias": "OBJECTID" }, { "displayName": "Name", "name": "NAME", "alias": "Name", "visible": true, "dataType": "String", "searchable": true }, { "name": "POPULATION", "visible": true, "dataType": "Int32", "displayName": "Population", "alias": "Population" }, { "name": "Shape", "visible": false, "dataType": "Object", "displayName": "Shape", "alias": "Shape" }, { "name": "COMMTYPE", "visible": true, "dataType": "String", "displayName": "Community Type", "alias": "Community Type" }, { "name": "PO_NAME", "visible": true, "dataType": "String", "displayName": "Post Office Name", "alias": "Post Office Name" }, { "name": "STATNAME", "visible": true, "dataType": "String", "displayName": "State Name", "alias": "State Name" }, { "name": "AREA_SQMI", "visible": true, "dataType": "Double", "displayName": "Area (Square Miles)", "alias": "Area (Square Miles)" }, { "name": "Shape_Length", "visible": true, "dataType": "Double", "displayName": "Shape_Length", "alias": "Shape_Length" }, { "name": "Shape_Area", "visible": true, "dataType": "Double", "displayName": "Shape_Area", "alias": "Shape_Area" } ], "featureHyperlinks": [], "layerHyperlinks": [ { "encodeUriReplacementValues": "Automatic", "iconUri": null, "target": "_blank", "text": "More information about this layer...", "toolTip": null, "uri": "https://en.wikipedia.org/wiki/List_of_cities_in_Los_Angeles_County,_California" } ], "arcadeExpressions": [], "isDynamic": false, "dynamicDefinition": null, "themeSettings": [ { "themeID": "0" }, { "themeID": "1" }, { "themeID": "2" } ], "tileLevelLimits": [] }, { "id": "10", "name": "Community Boundaries", "nativeID": "10", "displayName": "Community Boundaries", "description": "The Communities Layer contains boundaries for Cities and Communities in the County of Los Angeles - revised July 5, 2006", "defaultVisibility": false, "featureType": "Polygon", "type": "FeatureLayer", "maxScale": 20000, "minScale": 75000, "visible": false, "initiallyVisible": false, "showMapTips": true, "identifiable": true, "queryable": true, "searchable": true, "supportsIdentify": true, "supportsQuery": true, "canCopyFeature": true, "snappable": true, "snappingEnabled": false, "hasAttachments": false, "featureZoomFactor": null, "featureZoomScale": null, "featureBorderColor": [ 244, 66, 238, 255 ], "featureBorderWidth": null, "featureFillColor": [ 244, 66, 238, 51 ], "showFeatureHyperlinks": "ShowAll", "iconUri": "{VirtualDirectoryUrl}/Icons/community-32.png", "includeInLayerList": true, "includeInLegend": true, "allowSymbolization": true, "legendUrl": null, "styleName": null, "drawIndex": null, "canToggleLabels": true, "showLabels": true, "dataProvider": null, "featureLabel": "{NAME} ({COMMTYPE})", "featureDescription": "Top Street Trees in {NAME}:
{TOPTREES}
", "featureLongDescription": null, "displayField": "NAME", "primaryKeyField": "OBJECTID", "fullExtent": { "xmin": -13240855.928199999, "ymin": 3868874.7902999967, "xmax": -13096793.7108, "ymax": 4139887.0612000003, "spatialReference": { "wkid": 102100 } }, "parentLayerId": "7", "subLayerIds": [], "hasReports": false, "hasDataLinks": false, "fields": [ { "displayName": "OBJECTID", "uniqueValue": true, "name": "OBJECTID", "alias": "OBJECTID", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Name", "uniqueValue": true, "name": "NAME", "alias": "Name", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "Population", "uniqueValue": true, "name": "POPULATION", "alias": "Population", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Shape", "uniqueValue": false, "name": "Shape", "alias": "Shape", "visible": true, "dataType": "Object", "searchable": true, "classBreaks": false }, { "displayName": "Community Type", "uniqueValue": true, "name": "COMMTYPE", "alias": "Community Type", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "Post Office Name", "uniqueValue": true, "name": "PO_NAME", "alias": "Post Office Name", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "State Name", "uniqueValue": true, "name": "STATNAME", "alias": "State Name", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "Area (Square Miles)", "uniqueValue": true, "name": "AREA_SQMI", "alias": "Area (Square Miles)", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "Shape_Length", "uniqueValue": true, "name": "Shape_Length", "alias": "Shape_Length", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "Shape_Area", "uniqueValue": true, "name": "Shape_Area", "alias": "Shape_Area", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true } ], "featureHyperlinks": [], "layerHyperlinks": [], "arcadeExpressions": [ { "expression": "function sortDict(a,b) {\r\n\tif (a['count'] < b['count']) return 1;\r\n\tif (a['count'] > b['count']) return -1;\r\n\treturn 0;\r\n}\r\n\r\nfunction topX(typeField, layerId, numResults) {\r\n\r\n\tvar features = Intersects(FeatureSetById($map,layerId,[typeField],true),$feature);\r\n\tvar typeDict = {};\r\n\r\n\tfor (var feature in features) {\r\n\t\tif (HasKey(typeDict, feature[typeField])) {\r\n\t\t\ttypeDict[Text(feature[typeField])]++;\r\n\t\t} else {\r\n\t\t\ttypeDict[Text(feature[typeField])] = 1;\r\n\t\t}\r\n\t}\r\n\t\r\n\tvar i = 0;\r\n\tvar typeArray = [];\r\n\tfor (var key in typeDict) {\r\n\t\ttypeArray[i++] = {'type': key, 'count': typeDict[key]};\r\n\t}\r\n\t\t\r\n\tvar top = Top(Sort(typeArray, sortDict), numResults);\r\n\t\r\n\tvar result = \"\";\r\n\tfor (var i in top) {\r\n\t\tresult += top[i].type + \": \" + top[i].count + TextFormatting.NewLine;\r\n\t}\r\n\r\n if (IsEmpty(result)) {\r\n result = \"None found.\"\r\n }\r\n\t\r\n\treturn result;\r\n}\r\n\r\nreturn topX('COMMON_NAME','0',5);", "token": "TOPTREES" } ], "isDynamic": false, "dynamicDefinition": null, "themeSettings": [], "tileLevelLimits": [] }, { "id": "11", "name": "Fire Districts", "nativeID": "11", "displayName": "Fire Districts", "description": "", "defaultVisibility": false, "featureType": "Polygon", "type": "FeatureLayer", "maxScale": 0, "minScale": 0, "visible": false, "initiallyVisible": false, "showMapTips": false, "identifiable": false, "queryable": false, "searchable": false, "supportsIdentify": true, "supportsQuery": true, "canCopyFeature": true, "snappable": true, "snappingEnabled": false, "hasAttachments": false, "featureZoomFactor": null, "featureZoomScale": null, "featureBorderColor": null, "featureBorderWidth": null, "featureFillColor": null, "showFeatureHyperlinks": "ShowAll", "iconUri": "{VirtualDirectoryUrl}/Icons/fire-district-32.png", "includeInLayerList": false, "includeInLegend": true, "allowSymbolization": false, "legendUrl": null, "styleName": null, "drawIndex": null, "canToggleLabels": true, "showLabels": true, "dataProvider": null, "featureLabel": "Fire District {STATID}", "featureDescription": null, "featureLongDescription": null, "displayField": "STATID", "primaryKeyField": "OBJECTID", "fullExtent": { "xmin": -13240879.3548, "ymin": 3991518.110299997, "xmax": -13096249.4715, "ymax": 4139907.7133999988, "spatialReference": { "wkid": 102100 } }, "parentLayerId": "7", "subLayerIds": [], "hasReports": false, "hasDataLinks": false, "fields": [ { "displayName": "Shape", "name": "Shape", "alias": "Shape", "visible": true, "dataType": "Object", "searchable": true }, { "displayName": "STATID", "name": "STATID", "alias": "STATID", "visible": true, "dataType": "String", "searchable": true }, { "displayName": "OBJECTID", "name": "OBJECTID", "alias": "OBJECTID", "visible": true, "dataType": "Int32", "searchable": true }, { "displayName": "Shape_Length", "name": "Shape_Length", "alias": "Shape_Length", "visible": true, "dataType": "Double", "searchable": true }, { "displayName": "Shape_Area", "name": "Shape_Area", "alias": "Shape_Area", "visible": true, "dataType": "Double", "searchable": true } ], "featureHyperlinks": [], "layerHyperlinks": [], "arcadeExpressions": [], "isDynamic": false, "dynamicDefinition": null, "themeSettings": [ { "themeID": "0" }, { "themeID": "1" }, { "themeID": "2" } ], "tileLevelLimits": [] }, { "id": "12", "name": "Police Departments", "nativeID": "12", "displayName": "Police Departments", "description": "", "defaultVisibility": false, "featureType": "Polygon", "type": "FeatureLayer", "maxScale": 0, "minScale": 1000000, "visible": false, "initiallyVisible": false, "showMapTips": false, "identifiable": false, "queryable": false, "searchable": false, "supportsIdentify": true, "supportsQuery": true, "canCopyFeature": true, "snappable": true, "snappingEnabled": false, "hasAttachments": false, "featureZoomFactor": null, "featureZoomScale": null, "featureBorderColor": null, "featureBorderWidth": null, "featureFillColor": null, "showFeatureHyperlinks": "ShowAll", "iconUri": "{VirtualDirectoryUrl}/Icons/police-dept-32.png", "includeInLayerList": false, "includeInLegend": true, "allowSymbolization": false, "legendUrl": null, "styleName": null, "drawIndex": null, "canToggleLabels": true, "showLabels": true, "dataProvider": null, "featureLabel": "Police District", "featureDescription": "{STATION}\r\n{Department_Info.Phone}", "featureLongDescription": null, "displayField": "STATION", "primaryKeyField": "OBJECTID", "fullExtent": { "xmin": -13240861.492798869, "ymin": 3863103.2118554637, "xmax": -13096334.348477609, "ymax": 4139894.1033122465, "spatialReference": { "wkid": 102100 } }, "parentLayerId": "7", "subLayerIds": [], "hasReports": false, "hasDataLinks": false, "fields": [ { "name": "OBJECTID", "visible": false, "dataType": "Int32", "displayName": "OBJECTID", "alias": "OBJECTID" }, { "name": "Shape", "visible": false, "dataType": "Object", "displayName": "Shape", "alias": "Shape" }, { "displayName": "Station", "name": "STATION", "alias": "Station", "visible": true, "dataType": "String", "searchable": true }, { "name": "Shape_Length", "visible": true, "dataType": "Double", "displayName": "Shape_Length", "alias": "Shape_Length" }, { "name": "Shape_Area", "visible": true, "dataType": "Double", "displayName": "Shape_Area", "alias": "Shape_Area" } ], "featureHyperlinks": [], "layerHyperlinks": [ { "encodeUriReplacementValues": "Automatic", "iconUri": null, "target": "_blank", "text": "More information about this layer...", "toolTip": null, "uri": "http://egis3.lacounty.gov/dataportal/2010/10/21/law-enforcement-station-boundaries/" } ], "arcadeExpressions": [], "isDynamic": false, "dynamicDefinition": null, "themeSettings": [ { "themeID": "0" }, { "themeID": "1" }, { "themeID": "2" } ], "tileLevelLimits": [] }, { "id": "13", "name": "School Districts", "nativeID": "13", "displayName": "School Districts", "description": "", "defaultVisibility": false, "featureType": "Polygon", "type": "FeatureLayer", "maxScale": 0, "minScale": 1000000, "visible": false, "initiallyVisible": false, "showMapTips": true, "identifiable": true, "queryable": true, "searchable": true, "supportsIdentify": true, "supportsQuery": true, "canCopyFeature": true, "snappable": true, "snappingEnabled": false, "hasAttachments": false, "featureZoomFactor": null, "featureZoomScale": null, "featureBorderColor": null, "featureBorderWidth": null, "featureFillColor": null, "showFeatureHyperlinks": "ShowAll", "iconUri": "{VirtualDirectoryUrl}/Icons/school-district-32.png", "includeInLayerList": true, "includeInLegend": true, "allowSymbolization": true, "legendUrl": null, "styleName": null, "drawIndex": null, "canToggleLabels": true, "showLabels": true, "dataProvider": null, "featureLabel": "{DISTRICT} District", "featureDescription": "Schools By Type:

{TopSchools}
", "featureLongDescription": null, "displayField": "DISTRICT", "primaryKeyField": "OBJECTID", "fullExtent": { "xmin": -13240862.4062, "ymin": 3868828.9178000018, "xmax": -13096325.4134, "ymax": 4139896.1897, "spatialReference": { "wkid": 102100 } }, "parentLayerId": "7", "subLayerIds": [], "hasReports": false, "hasDataLinks": false, "fields": [ { "displayName": "OBJECTID", "uniqueValue": true, "name": "OBJECTID", "alias": "OBJECTID", "visible": false, "dataType": "Int32", "classBreaks": true }, { "displayName": "District", "uniqueValue": true, "name": "DISTRICT", "alias": "District", "visible": true, "dataType": "String", "classBreaks": false }, { "displayName": "Label", "uniqueValue": true, "name": "LABEL", "alias": "Label", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "Shape", "uniqueValue": false, "name": "Shape", "alias": "Shape", "visible": false, "dataType": "Object", "classBreaks": false }, { "displayName": "Shape_Length", "uniqueValue": true, "name": "Shape_Length", "alias": "Shape_Length", "visible": true, "dataType": "Double", "classBreaks": true }, { "displayName": "Shape_Area", "uniqueValue": true, "name": "Shape_Area", "alias": "Shape_Area", "visible": true, "dataType": "Double", "classBreaks": true } ], "featureHyperlinks": [], "layerHyperlinks": [ { "encodeUriReplacementValues": "Automatic", "iconUri": null, "target": "_blank", "text": "More information about this layer...", "toolTip": null, "uri": "http://egis3.lacounty.gov/dataportal/2012/01/20/school-district-boundaries-2011/" } ], "arcadeExpressions": [ { "expression": "function sortDict(a,b) { \r\n\tif (a['count'] < b['count']) return 1; \r\n\tif (a['count'] > b['count']) return -1; \r\n\treturn 0; \r\n} \r\n \r\nfunction topX(typeField, layerId, numResults) { \r\n\r\n\tvar features = Intersects(FeatureSetById($map,layerId,[typeField],true),$feature); \r\n\tvar typeDict = {}; \r\n \r\n\tfor (var feature in features) { \r\n\t\tif (HasKey(typeDict, feature[typeField])) { \r\n\t\t\ttypeDict[Text(feature[typeField])]++; \r\n\t\t} else { \r\n\t\t\ttypeDict[Text(feature[typeField])] = 1; \r\n\t\t} \r\n\t} \r\n\t \r\n\tvar i = 0; \r\n\tvar typeArray = []; \r\n\tfor (var key in typeDict) { \r\n\t\ttypeArray[i++] = {'type': key, 'count': typeDict[key]}; \r\n\t} \r\n\t\t \r\n\tvar top = Top(Sort(typeArray, sortDict), numResults); \r\n\t \r\n\tvar result = \"\"; \r\n\tfor (var i in top) { \r\n\t\tresult += top[i].type + \": \" + top[i].count + TextFormatting.NewLine; \r\n\t} \r\n \r\n\tif (IsEmpty(result)) { \r\n\t\tresult = \"None found.\" \r\n\t} \r\n\t \r\n\treturn result; \r\n} \r\n \r\nreturn topX('Category','9',5); \r\n", "token": "TopSchools" } ], "isDynamic": false, "dynamicDefinition": null, "themeSettings": [], "tileLevelLimits": [] }, { "id": "14", "name": "Health Districts", "nativeID": "14", "displayName": "Health Districts", "description": "The Provisional Health District Layer contains Department of Public Health Health Districts as of 2011, which are aggregates of 2010 Census Tracts. Furthermore, Health Districts comprise the building blocks of Los Angeles County Service Planning Areas (SPAs). The Provisional Health Districts were created by the Los Angeles County Department of Public Health for planning purposes and are subject to change.", "defaultVisibility": false, "featureType": "Polygon", "type": "FeatureLayer", "maxScale": 0, "minScale": 1000000, "visible": false, "initiallyVisible": false, "showMapTips": true, "identifiable": true, "queryable": true, "searchable": true, "supportsIdentify": true, "supportsQuery": true, "canCopyFeature": true, "snappable": true, "snappingEnabled": false, "hasAttachments": false, "featureZoomFactor": null, "featureZoomScale": null, "featureBorderColor": null, "featureBorderWidth": null, "featureFillColor": null, "showFeatureHyperlinks": "ShowAll", "iconUri": "{VirtualDirectoryUrl}/Icons/health-district-32.png", "includeInLayerList": true, "includeInLegend": true, "allowSymbolization": true, "legendUrl": null, "styleName": null, "drawIndex": null, "canToggleLabels": true, "showLabels": true, "dataProvider": null, "featureLabel": "{HD_NAME} Health District", "featureDescription": "Total Hospitals: {NumHospitals}
911 Recieving: {Num911} 
", "featureLongDescription": null, "displayField": "HD_NAME", "primaryKeyField": "OBJECTID", "fullExtent": { "xmin": -13240862.4055, "ymin": 3868151.7426000014, "xmax": -13096334.4473, "ymax": 4139894.0622000024, "spatialReference": { "wkid": 102100 } }, "parentLayerId": "7", "subLayerIds": [], "hasReports": false, "hasDataLinks": false, "fields": [ { "displayName": "Shape", "uniqueValue": false, "name": "Shape", "alias": "Shape", "visible": false, "dataType": "Object", "classBreaks": false }, { "displayName": "Health District", "uniqueValue": true, "name": "HD_NAME", "alias": "Health District", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "Service Planning Area", "uniqueValue": true, "name": "SPA_NAME", "alias": "Service Planning Area", "visible": true, "dataType": "String", "classBreaks": false }, { "displayName": "OBJECTID", "uniqueValue": true, "name": "OBJECTID", "alias": "OBJECTID", "visible": false, "dataType": "Int32", "classBreaks": true }, { "displayName": "Shape_Length", "uniqueValue": true, "name": "Shape_Length", "alias": "Shape_Length", "visible": true, "dataType": "Double", "classBreaks": true }, { "displayName": "Shape_Area", "uniqueValue": true, "name": "Shape_Area", "alias": "Shape_Area", "visible": true, "dataType": "Double", "classBreaks": true } ], "featureHyperlinks": [], "layerHyperlinks": [ { "encodeUriReplacementValues": "Automatic", "iconUri": null, "target": "_blank", "text": "More information about this layer...", "toolTip": null, "uri": "http://egis3.lacounty.gov/dataportal/2012/03/01/health-districts-hd-2012/" } ], "arcadeExpressions": [ { "expression": "function countIntersects(layerId) { \r\n var fs = FeatureSetById($map, layerId, ['*'], true); \r\n return Count(Intersects($feature, fs)); \r\n} \r\ncountIntersects('10') ", "token": "NumHospitals" }, { "expression": "function countIntersectsOfType(layerId, typeField, type) { \r\n var fs = Intersects($feature, FeatureSetById($map, layerId, ['*'], true)); \r\n var i = 0; \r\n for (var f in fs) {\r\n if (f[typeField] == type) {\r\n i++;\r\n }\r\n }\r\n return i; \r\n} \r\ncountIntersectsOfType('10','Category','911 Receiving') ", "token": "Num911" } ], "isDynamic": false, "dynamicDefinition": null, "themeSettings": [], "tileLevelLimits": [] }, { "id": "15", "name": "Census Tracts", "nativeID": "15", "displayName": "Census Tracts", "description": "", "defaultVisibility": false, "featureType": "Polygon", "type": "FeatureLayer", "maxScale": 0, "minScale": 150000, "visible": false, "initiallyVisible": false, "showMapTips": true, "identifiable": true, "queryable": true, "searchable": true, "supportsIdentify": true, "supportsQuery": true, "canCopyFeature": true, "snappable": true, "snappingEnabled": false, "hasAttachments": false, "featureZoomFactor": null, "featureZoomScale": null, "featureBorderColor": null, "featureBorderWidth": null, "featureFillColor": null, "showFeatureHyperlinks": "ShowAll", "iconUri": "{VirtualDirectoryUrl}/Icons/census-tract-32.png", "includeInLayerList": true, "includeInLegend": true, "allowSymbolization": true, "legendUrl": null, "styleName": null, "drawIndex": null, "canToggleLabels": true, "showLabels": true, "dataProvider": null, "featureLabel": "Census Tract: {TRACT}", "featureDescription": "Community: {community}

Population: {TOTPOP}
Area: {AREA2} square kilometers

Population Density: 
{POPDENSITY} people per square km

Communications Infrastructure:
{TOPCOMM}
", "featureLongDescription": null, "displayField": "PARTIAL_ID", "primaryKeyField": "OBJECTID", "fullExtent": { "xmin": -13240862.4053, "ymin": 3869611.1692000106, "xmax": -13096334.447299996, "ymax": 4139894.06220001, "spatialReference": { "wkid": 102100 } }, "parentLayerId": "7", "subLayerIds": [], "hasReports": false, "hasDataLinks": false, "fields": [ { "displayName": "OBJECTID", "uniqueValue": true, "name": "OBJECTID", "alias": "OBJECTID", "visible": false, "dataType": "Int32", "classBreaks": true }, { "displayName": "Shape", "uniqueValue": false, "name": "Shape", "alias": "Shape", "visible": false, "dataType": "Object", "classBreaks": false }, { "displayName": "ID", "uniqueValue": true, "name": "PARTIAL_ID", "alias": "ID", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "County ID", "uniqueValue": true, "name": "COUNTY", "alias": "County ID", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "Tract ID", "uniqueValue": true, "name": "TRACT", "alias": "Tract ID", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "City ID", "uniqueValue": true, "name": "CITY", "alias": "City ID", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "Acres", "uniqueValue": true, "name": "ACRES", "alias": "Acres", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "Population Density (people per sq km)", "uniqueValue": true, "name": "DENSITY", "alias": "Population Density (people per sq km)", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "Area (square m)", "uniqueValue": true, "name": "AREA", "alias": "Area (square m)", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "Shape_Length", "uniqueValue": true, "name": "Shape_Length", "alias": "Shape_Length", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "Shape_Area", "uniqueValue": true, "name": "Shape_Area", "alias": "Shape_Area", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "GEOID10", "uniqueValue": true, "name": "GEOID10", "alias": "GEOID10", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "Label", "uniqueValue": true, "name": "LABEL", "alias": "Label", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "X Center", "uniqueValue": true, "name": "X_Center", "alias": "X Center", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "Y Center", "uniqueValue": true, "name": "Y_Center", "alias": "Y Center", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "Latitude", "uniqueValue": true, "name": "LATITUDE", "alias": "Latitude", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "Longitude", "uniqueValue": true, "name": "LONGITUDE", "alias": "Longitude", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "Total Population", "uniqueValue": true, "name": "TOTPOP", "alias": "Total Population", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Total Male Population", "uniqueValue": true, "name": "TOTMALE", "alias": "Total Male Population", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Total Female Population", "uniqueValue": true, "name": "TOTFEMALE", "alias": "Total Female Population", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Median Age", "uniqueValue": true, "name": "MEDIANAGE", "alias": "Median Age", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "Median Male Age", "uniqueValue": true, "name": "MEDIANMALE", "alias": "Median Male Age", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "Median Female Age", "uniqueValue": true, "name": "MEDIANFEMALE", "alias": "Median Female Age", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "Population Over 18", "uniqueValue": true, "name": "TOTOVER18", "alias": "Population Over 18", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Total Males Over 18", "uniqueValue": true, "name": "MALEOVER18", "alias": "Total Males Over 18", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Total Females Over 18", "uniqueValue": true, "name": "FEMALEOVER18", "alias": "Total Females Over 18", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Population Over 65", "uniqueValue": true, "name": "TOTOVER65", "alias": "Population Over 65", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Males Over 65", "uniqueValue": true, "name": "MALEOVER65", "alias": "Males Over 65", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Females Over 65", "uniqueValue": true, "name": "FEMALEOVER65", "alias": "Females Over 65", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Total White", "uniqueValue": true, "name": "WHITE", "alias": "Total White", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Total Black", "uniqueValue": true, "name": "BLACK", "alias": "Total Black", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Total Native", "uniqueValue": true, "name": "NATIVE", "alias": "Total Native", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Total Asian", "uniqueValue": true, "name": "ASIAN", "alias": "Total Asian", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Total Asian Indian", "uniqueValue": true, "name": "ASIND", "alias": "Total Asian Indian", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Total Chinese", "uniqueValue": true, "name": "CHINESE", "alias": "Total Chinese", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Total Filipino", "uniqueValue": true, "name": "FILIPINO", "alias": "Total Filipino", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Total Japanese", "uniqueValue": true, "name": "JAPANESE", "alias": "Total Japanese", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Total Korean", "uniqueValue": true, "name": "KOREAN", "alias": "Total Korean", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Total Vietnamese", "uniqueValue": true, "name": "VIETNAMESE", "alias": "Total Vietnamese", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Total Pacific Islander", "uniqueValue": true, "name": "PACISLE", "alias": "Total Pacific Islander", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Total Two Or More Races", "uniqueValue": true, "name": "TWOMORE", "alias": "Total Two Or More Races", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Total Hispanic Or Latino", "uniqueValue": true, "name": "HISPANIC", "alias": "Total Hispanic Or Latino", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Total Mexican", "uniqueValue": true, "name": "MEXICAN", "alias": "Total Mexican", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Total Puerto Rican", "uniqueValue": true, "name": "PUERTORICAN", "alias": "Total Puerto Rican", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Total Cuban", "uniqueValue": true, "name": "CUBAN", "alias": "Total Cuban", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Population In Households", "uniqueValue": true, "name": "HOUSEHOLDS", "alias": "Population In Households", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Total Householders", "uniqueValue": true, "name": "HOUSEHOLDER", "alias": "Total Householders", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Total Spouses", "uniqueValue": true, "name": "SPOUSE", "alias": "Total Spouses", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Total Children", "uniqueValue": true, "name": "CHILD", "alias": "Total Children", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Population in Group Housing", "uniqueValue": true, "name": "GROUPPOP", "alias": "Population in Group Housing", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Family Households", "uniqueValue": true, "name": "FAMILIES", "alias": "Family Households", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Families With Children", "uniqueValue": true, "name": "FAMILYCHILD", "alias": "Families With Children", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Married Families", "uniqueValue": true, "name": "MARRIED", "alias": "Married Families", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Married Families With Children", "uniqueValue": true, "name": "MARRIEDCHILD", "alias": "Married Families With Children", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Single Fathers With Children", "uniqueValue": true, "name": "SINGLEFATHER", "alias": "Single Fathers With Children", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Single Mothers With Children", "uniqueValue": true, "name": "SINGLEMOTHER", "alias": "Single Mothers With Children", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Single Householders", "uniqueValue": true, "name": "SINGLE", "alias": "Single Householders", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Single Male Householders", "uniqueValue": true, "name": "SINGLEMALE", "alias": "Single Male Householders", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Single Female Householders", "uniqueValue": true, "name": "SINGLEFEMALE", "alias": "Single Female Householders", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Average Household Size", "uniqueValue": true, "name": "AVHOUSE", "alias": "Average Household Size", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "Average Family Size", "uniqueValue": true, "name": "AVFAMILY", "alias": "Average Family Size", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "Total Housing Units", "uniqueValue": true, "name": "TOTHOUSE", "alias": "Total Housing Units", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Occupied Housing Units", "uniqueValue": true, "name": "OCCHOUSE", "alias": "Occupied Housing Units", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Vacant Housing Units", "uniqueValue": true, "name": "VACHOUSE", "alias": "Vacant Housing Units", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Housing Units For Rent", "uniqueValue": true, "name": "FORRENT", "alias": "Housing Units For Rent", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Housing Units For Sale", "uniqueValue": true, "name": "FORSALE", "alias": "Housing Units For Sale", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Homeowner Vacancy Rate", "uniqueValue": true, "name": "HOMEVAC", "alias": "Homeowner Vacancy Rate", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "Rental Vacancy Rate", "uniqueValue": true, "name": "RENTVAC", "alias": "Rental Vacancy Rate", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "Owner Occupied Units", "uniqueValue": true, "name": "OWNOCC", "alias": "Owner Occupied Units", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Renter Occupied Units", "uniqueValue": true, "name": "RENTOCC", "alias": "Renter Occupied Units", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Population in Owned Units", "uniqueValue": true, "name": "POPOWN", "alias": "Population in Owned Units", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Population In Rental Units", "uniqueValue": true, "name": "POPRENT", "alias": "Population In Rental Units", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Average Owner Occupied Household Size", "uniqueValue": true, "name": "AVOWNER", "alias": "Average Owner Occupied Household Size", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "Average Renter Occupied Household Size", "uniqueValue": true, "name": "AVRENT", "alias": "Average Renter Occupied Household Size", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true } ], "featureHyperlinks": [], "layerHyperlinks": [ { "encodeUriReplacementValues": "Automatic", "iconUri": null, "target": "_blank", "text": "More information about this layer...", "toolTip": null, "uri": "http://egis3.lacounty.gov/dataportal/2011/07/19/census-tracts-2010/" } ], "arcadeExpressions": [ { "expression": "Round($feature.TOTPOP / Area($feature, 'square-kilometers'), 2)", "token": "POPDENSITY" }, { "expression": "function sortDict(a,b) {\r\n\tif (a['count'] < b['count']) return 1;\r\n\tif (a['count'] > b['count']) return -1;\r\n\treturn 0;\r\n}\r\n\r\nfunction topX(typeField, layerId, numResults) {\r\n\r\n\tvar features = Intersects(FeatureSetById($map,layerId,[typeField],true),$feature);\r\n\tvar typeDict = {};\r\n\r\n\tfor (var feature in features) {\r\n\t\tif (HasKey(typeDict, feature[typeField])) {\r\n\t\t\ttypeDict[Text(feature[typeField])]++;\r\n\t\t} else {\r\n\t\t\ttypeDict[Text(feature[typeField])] = 1;\r\n\t\t}\r\n\t}\r\n\t\r\n\tvar i = 0;\r\n\tvar typeArray = [];\r\n\tfor (var key in typeDict) {\r\n\t\ttypeArray[i++] = {'type': key, 'count': typeDict[key]};\r\n\t}\r\n\t\t\r\n\tvar top = Top(Sort(typeArray, sortDict), numResults);\r\n\t\r\n\tvar result = \"\";\r\n\tfor (var i in top) {\r\n\t\tresult += top[i].type + \": \" + top[i].count + TextFormatting.NewLine;\r\n\t}\r\n\r\n\tif (IsEmpty(result)) {\r\n\t\tresult = \"None found.\"\r\n\t}\r\n\t\r\n\treturn result;\r\n}\r\n\r\nreturn topX('cat2','1021',5);", "token": "TOPCOMM" }, { "expression": "Round(Area($feature, 'square-kilometers'),2)", "token": "AREA2" }, { "expression": "var communities = FeatureSetById($map, '1032',['NAME'],true);\r\nvar comm = First(Intersects(communities, $feature));\r\nif (!IsEmpty(comm)) {\r\n return comm.NAME;\r\n} else {\r\n return \"Unknown\";\r\n}", "token": "community" } ], "isDynamic": false, "dynamicDefinition": null, "charts": [ { "id": "Population", "displayName": "Population", "chartFeatureType": 1, "defaultChart": true, "chartDefinition": { "area": { "background": [ 255, 255, 255, 255 ], "foreground": [ 0, 0, 0, 255 ], "showToolTips": true, "showLabels": false, "showVerticalStrips": true, "showHorizontalStrips": false, "showVerticalGridLines": false, "showHorizontalGridLines": true, "enableVerticalZoom": true, "enableHorizontalZoom": true, "actionSelect": true, "actionPan": true, "actionZoom": false, "actionFeatureDetails": true, "actionRunCommand": false, "commandName": "", "commandParameter": "", "dragMode": 1, "enableTrackBall": false, "enableCommonSeriesRange": true, "enableColorPalette": false, "colorPalette": 15 }, "chartType": "Linear", "legend": { "title": "Legend", "position": "Bottom" }, "category": { "field": { "name": "TRACT", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "axis": { "visible": true, "title": "Tract", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 1, "showTicks": true, "reverseValues": false } }, "flipChart": false, "visible": true, "series": [ { "id": "0", "displayName": "Untitled Series", "seriesType": "Bar", "field": { "name": "TOTPOP", "displayFormat": "F0", "sortingFormat": "000000000000000.###############", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "title": "Total Population", "timeZoneId": "Etc/UTC", "valueFormat": "F2", "color": [ 122, 191, 238, 255 ], "labelType": "None", "markerType": "None", "valueAggregatorName": "Sum", "axis": { "visible": true, "title": "Population", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "PARTIAL_ID", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null }, { "id": "1", "displayName": "Untitled Series 1", "seriesType": "Line", "field": { "name": "TOTOVER65", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "title": "Over 65", "timeZoneId": "Etc/UTC", "valueFormat": "", "color": [ 216, 126, 219, 255 ], "labelType": "None", "markerType": "Circle", "valueAggregatorName": "Sum", "axis": { "visible": false, "title": "Over 65", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "PARTIAL_ID", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null }, { "id": "2", "displayName": "Untitled Series 2", "seriesType": "Line", "field": { "name": "TOTOVER18", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "title": "Over 18", "timeZoneId": "Etc/UTC", "valueFormat": "", "color": [ 235, 161, 120, 255 ], "labelType": "None", "markerType": "Circle", "valueAggregatorName": "Sum", "axis": { "visible": false, "title": "Over 18", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "PARTIAL_ID", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null } ] } }, { "id": "Race", "displayName": "Race", "chartFeatureType": 1, "defaultChart": false, "chartDefinition": { "area": { "background": [ 255, 255, 255, 255 ], "foreground": [ 0, 0, 0, 255 ], "showToolTips": true, "showLabels": false, "showVerticalStrips": true, "showHorizontalStrips": false, "showVerticalGridLines": false, "showHorizontalGridLines": true, "enableVerticalZoom": false, "enableHorizontalZoom": false, "actionSelect": true, "actionPan": false, "actionZoom": false, "actionFeatureDetails": false, "actionRunCommand": false, "commandName": "", "commandParameter": "", "dragMode": 0, "enableTrackBall": false, "enableCommonSeriesRange": false, "enableColorPalette": false, "colorPalette": 15 }, "chartType": "Pie", "legend": { "title": "Legend", "position": "Right" }, "category": { "field": { "name": "PARTIAL_ID", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "axis": { "visible": true, "title": "Axis", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false } }, "flipChart": false, "visible": true, "series": [ { "id": "0", "displayName": "Untitled Series", "seriesType": "Bar", "field": { "name": "WHITE", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "title": "White", "timeZoneId": "Etc/UTC", "valueFormat": "", "color": [ 208, 138, 203, 255 ], "labelType": "None", "markerType": "Circle", "valueAggregatorName": "Sum", "axis": { "visible": true, "title": "Total White", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "PARTIAL_ID", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null }, { "id": "1", "displayName": "Untitled Series 1", "seriesType": "Bar", "field": { "name": "BLACK", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "title": "Black", "timeZoneId": "Etc/UTC", "valueFormat": "", "color": [ 142, 109, 170, 255 ], "labelType": "None", "markerType": "Circle", "valueAggregatorName": "Sum", "axis": { "visible": true, "title": "Total Black", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "PARTIAL_ID", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null }, { "id": "2", "displayName": "Untitled Series 2", "seriesType": "Bar", "field": { "name": "NATIVE", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "title": "Native", "timeZoneId": "Etc/UTC", "valueFormat": "", "color": [ 170, 198, 136, 255 ], "labelType": "None", "markerType": "Circle", "valueAggregatorName": "Sum", "axis": { "visible": true, "title": "Total Native", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "PARTIAL_ID", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null }, { "id": "3", "displayName": "Untitled Series 3", "seriesType": "Bar", "field": { "name": "ASIAN", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "title": "Asian", "timeZoneId": "Etc/UTC", "valueFormat": "", "color": [ 111, 159, 192, 255 ], "labelType": "None", "markerType": "Circle", "valueAggregatorName": "Sum", "axis": { "visible": true, "title": "Total Asian", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "PARTIAL_ID", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null }, { "id": "4", "displayName": "Untitled Series 4", "seriesType": "Bar", "field": { "name": "ASIND", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "title": "Indian", "timeZoneId": "Etc/UTC", "valueFormat": "", "color": [ 175, 216, 179, 255 ], "labelType": "None", "markerType": "Circle", "valueAggregatorName": "Sum", "axis": { "visible": true, "title": "Total Asian Indian", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "PARTIAL_ID", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null }, { "id": "5", "displayName": "Untitled Series 5", "seriesType": "Bar", "field": { "name": "CHINESE", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "title": "Chinese", "timeZoneId": "Etc/UTC", "valueFormat": "", "color": [ 205, 122, 140, 255 ], "labelType": "None", "markerType": "Circle", "valueAggregatorName": "Sum", "axis": { "visible": true, "title": "Total Chinese", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "PARTIAL_ID", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null }, { "id": "6", "displayName": "Untitled Series 6", "seriesType": "Bar", "field": { "name": "FILIPINO", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "title": "Filipino", "timeZoneId": "Etc/UTC", "valueFormat": "", "color": [ 123, 184, 186, 255 ], "labelType": "None", "markerType": "Circle", "valueAggregatorName": "Sum", "axis": { "visible": true, "title": "Total Filipino", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "PARTIAL_ID", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null }, { "id": "7", "displayName": "Untitled Series 7", "seriesType": "Bar", "field": { "name": "JAPANESE", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "title": "Japanese", "timeZoneId": "Etc/UTC", "valueFormat": "", "color": [ 218, 185, 165, 255 ], "labelType": "None", "markerType": "Circle", "valueAggregatorName": "Sum", "axis": { "visible": true, "title": "Total Japanese", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "PARTIAL_ID", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null }, { "id": "8", "displayName": "Untitled Series 8", "seriesType": "Bar", "field": { "name": "KOREAN", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "title": "Korean", "timeZoneId": "Etc/UTC", "valueFormat": "", "color": [ 89, 166, 151, 255 ], "labelType": "None", "markerType": "Circle", "valueAggregatorName": "Sum", "axis": { "visible": true, "title": "Total Korean", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "PARTIAL_ID", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null }, { "id": "9", "displayName": "Untitled Series 9", "seriesType": "Bar", "field": { "name": "VIETNAMESE", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "title": "Vietnamese", "timeZoneId": "Etc/UTC", "valueFormat": "", "color": [ 225, 241, 83, 255 ], "labelType": "None", "markerType": "Circle", "valueAggregatorName": "Sum", "axis": { "visible": true, "title": "Total Vietnamese", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "PARTIAL_ID", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null }, { "id": "10", "displayName": "Untitled Series 11", "seriesType": "Bar", "field": { "name": "PUERTORICAN", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "title": "Puerto Rican", "timeZoneId": "Etc/UTC", "valueFormat": "", "color": [ 148, 59, 156, 255 ], "labelType": "None", "markerType": "Circle", "valueAggregatorName": "Sum", "axis": { "visible": true, "title": "Total Puerto Rican", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "PARTIAL_ID", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null }, { "id": "11", "displayName": "Untitled Series 10", "seriesType": "Bar", "field": { "name": "HISPANIC", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "title": "Hispanic / Latino", "timeZoneId": "Etc/UTC", "valueFormat": "", "color": [ 39, 148, 141, 255 ], "labelType": "None", "markerType": "Circle", "valueAggregatorName": "Sum", "axis": { "visible": true, "title": "Total Hispanic Or Latino", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "PARTIAL_ID", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null } ] } }, { "id": "FamilialMakeup", "displayName": "Familial Makeup ", "chartFeatureType": 1, "defaultChart": true, "chartDefinition": { "area": { "background": [ 255, 255, 255, 255 ], "foreground": [ 0, 0, 0, 255 ], "showToolTips": true, "showLabels": true, "showVerticalStrips": true, "showHorizontalStrips": false, "showVerticalGridLines": false, "showHorizontalGridLines": true, "enableVerticalZoom": false, "enableHorizontalZoom": false, "actionSelect": true, "actionPan": false, "actionZoom": false, "actionFeatureDetails": false, "actionRunCommand": false, "commandName": "", "commandParameter": "", "dragMode": 0, "enableTrackBall": false, "enableCommonSeriesRange": false, "enableColorPalette": true, "colorPalette": 10 }, "chartType": "Pie", "legend": { "title": "Legend", "position": "None" }, "category": { "field": { "name": "PARTIAL_ID", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "axis": { "visible": true, "title": "Axis", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false } }, "flipChart": false, "visible": true, "series": [ { "id": "0", "displayName": "Untitled Series", "seriesType": "Bar", "field": { "name": "MARRIED", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "title": "Married Families", "timeZoneId": "Etc/UTC", "valueFormat": "", "color": [ 27, 125, 191, 255 ], "labelType": "None", "markerType": "Circle", "valueAggregatorName": "Sum", "axis": { "visible": true, "title": "Married Families", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "PARTIAL_ID", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null }, { "id": "1", "displayName": "Untitled Series 1", "seriesType": "Bar", "field": { "name": "SINGLEFATHER", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "title": "Single Fathers w/ Children", "timeZoneId": "Etc/UTC", "valueFormat": "", "color": [ 184, 88, 24, 255 ], "labelType": "None", "markerType": "Circle", "valueAggregatorName": "Sum", "axis": { "visible": true, "title": "Single Fathers With Children", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "PARTIAL_ID", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null }, { "id": "2", "displayName": "Untitled Series 2", "seriesType": "Bar", "field": { "name": "SINGLEMOTHER", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "title": "Single Mothers w/ Children", "timeZoneId": "Etc/UTC", "valueFormat": "", "color": [ 79, 143, 0, 255 ], "labelType": "None", "markerType": "Circle", "valueAggregatorName": "Sum", "axis": { "visible": true, "title": "Single Mothers With Children", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "PARTIAL_ID", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null }, { "id": "3", "displayName": "Untitled Series 4", "seriesType": "Bar", "field": { "name": "SINGLEMALE", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "title": "Single Male", "timeZoneId": "Etc/UTC", "valueFormat": "", "color": [ 27, 125, 191, 255 ], "labelType": "None", "markerType": "Circle", "valueAggregatorName": "Sum", "axis": { "visible": true, "title": "Single Male Householders", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "PARTIAL_ID", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null }, { "id": "4", "displayName": "Untitled Series 3", "seriesType": "Bar", "field": { "name": "SINGLEFEMALE", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "title": "Single Female", "timeZoneId": "Etc/UTC", "valueFormat": "", "color": [ 27, 125, 191, 255 ], "labelType": "None", "markerType": "Circle", "valueAggregatorName": "Sum", "axis": { "visible": true, "title": "Single Female Householders", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "PARTIAL_ID", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null } ] } }, { "id": "Housing", "displayName": "Housing", "chartFeatureType": 1, "defaultChart": true, "chartDefinition": { "area": { "background": [ 255, 255, 255, 255 ], "foreground": [ 0, 0, 0, 255 ], "showToolTips": true, "showLabels": false, "showVerticalStrips": true, "showHorizontalStrips": false, "showVerticalGridLines": false, "showHorizontalGridLines": true, "enableVerticalZoom": true, "enableHorizontalZoom": true, "actionSelect": true, "actionPan": true, "actionZoom": false, "actionFeatureDetails": true, "actionRunCommand": false, "commandName": "", "commandParameter": "", "dragMode": 1, "enableTrackBall": false, "enableCommonSeriesRange": true, "enableColorPalette": true, "colorPalette": 3 }, "chartType": "Linear", "legend": { "title": "Legend", "position": "Bottom" }, "category": { "field": { "name": "TRACT", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "axis": { "visible": true, "title": "Tract", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 1, "showTicks": true, "reverseValues": false } }, "flipChart": false, "visible": true, "series": [ { "id": "1", "displayName": "Untitled Series 1", "seriesType": "Bar", "field": { "name": "VACHOUSE", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "title": "Vacant Housing", "timeZoneId": "Etc/UTC", "valueFormat": "", "color": [ 184, 88, 24, 255 ], "labelType": "None", "markerType": "Circle", "valueAggregatorName": "Sum", "axis": { "visible": false, "title": "Vacant Housing Units", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "PARTIAL_ID", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null }, { "id": "2", "displayName": "Untitled Series 2", "seriesType": "Bar", "field": { "name": "FORRENT", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "title": "Housing For Rent", "timeZoneId": "Etc/UTC", "valueFormat": "", "color": [ 79, 143, 0, 255 ], "labelType": "None", "markerType": "Circle", "valueAggregatorName": "Sum", "axis": { "visible": false, "title": "Housing Units For Rent", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "PARTIAL_ID", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null }, { "id": "4", "displayName": "Untitled Series 4", "seriesType": "Bar", "field": { "name": "FORSALE", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "title": "Housing For Sale", "timeZoneId": "Etc/UTC", "valueFormat": "", "color": [ 27, 125, 191, 255 ], "labelType": "None", "markerType": "Circle", "valueAggregatorName": "Sum", "axis": { "visible": true, "title": "Population", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "PARTIAL_ID", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null }, { "id": "3", "displayName": "Untitled Series 3", "seriesType": "Bar", "field": { "name": "OWNOCC", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "title": "Owner Occupied", "timeZoneId": "Etc/UTC", "valueFormat": "", "color": [ 27, 125, 191, 255 ], "labelType": "None", "markerType": "Circle", "valueAggregatorName": "Sum", "axis": { "visible": false, "title": "Owner Occupied Units", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "PARTIAL_ID", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null }, { "id": "5", "displayName": "Untitled Series 5", "seriesType": "Bar", "field": { "name": "RENTOCC", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false }, "title": "Renter Occupied", "timeZoneId": "Etc/UTC", "valueFormat": "", "color": [ 27, 125, 191, 255 ], "labelType": "None", "markerType": "Circle", "valueAggregatorName": "Sum", "axis": { "visible": false, "title": "Renter Occupied Units", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "PARTIAL_ID", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null } ] } } ], "themeSettings": [], "tileLevelLimits": [] }, { "id": "16", "name": "Zip Codes", "nativeID": "16", "displayName": "Zip Codes", "description": "", "defaultVisibility": false, "featureType": "Polygon", "type": "FeatureLayer", "maxScale": 0, "minScale": 600000, "visible": true, "initiallyVisible": false, "showMapTips": true, "identifiable": true, "queryable": true, "searchable": true, "supportsIdentify": true, "supportsQuery": true, "canCopyFeature": true, "snappable": true, "snappingEnabled": false, "hasAttachments": false, "featureZoomFactor": null, "featureZoomScale": null, "featureBorderColor": null, "featureBorderWidth": null, "featureFillColor": null, "showFeatureHyperlinks": "ShowAll", "iconUri": "{VirtualDirectoryUrl}/Icons/zip-codes-32.png", "includeInLayerList": true, "includeInLegend": true, "allowSymbolization": true, "legendUrl": null, "styleName": null, "drawIndex": null, "canToggleLabels": true, "showLabels": true, "dataProvider": null, "featureLabel": "Zip Code: {ZIP}", "featureDescription": "
Cultural Amenities:
{Culture}
\r\n\r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n

The Zip Codes Layer description...

\r\n \r\n\r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n
Cultural Amenities: {Culture}
Establishments: {Historical_Employment_Data.Total Businesses}
Employees: {Historical_Employment_Data.Total Employees}
Year: {Historical_Employment_Data.Year}
", "featureLongDescription": null, "displayField": "NAME", "primaryKeyField": "OBJECTID", "fullExtent": { "xmin": -13240855.8423, "ymin": 3869568.1541000009, "xmax": -13096334.4338, "ymax": 4139894.0622999966, "spatialReference": { "wkid": 102100 } }, "parentLayerId": "7", "subLayerIds": [], "hasReports": true, "hasDataLinks": true, "fields": [ { "displayName": "OBJECTID", "uniqueValue": true, "name": "OBJECTID", "alias": "OBJECTID", "visible": false, "dataType": "Int32", "classBreaks": true }, { "displayName": "Name", "uniqueValue": true, "name": "NAME", "alias": "Name", "visible": true, "dataType": "String", "classBreaks": false }, { "displayName": "State Code", "uniqueValue": true, "name": "ST_FIPS", "alias": "State Code", "visible": true, "dataType": "String", "classBreaks": false }, { "displayName": "City Code", "uniqueValue": true, "name": "CTY_FIPS", "alias": "City Code", "visible": true, "dataType": "String", "classBreaks": false }, { "displayName": "Zip Code", "uniqueValue": true, "name": "ZIP", "alias": "Zip Code", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "Shape", "uniqueValue": false, "name": "Shape", "alias": "Shape", "visible": false, "dataType": "Object", "classBreaks": false }, { "displayName": "Shape_Length", "uniqueValue": true, "name": "Shape_Length", "alias": "Shape_Length", "visible": true, "dataType": "Double", "classBreaks": true }, { "displayName": "Shape_Area", "uniqueValue": true, "name": "Shape_Area", "alias": "Shape_Area", "visible": true, "dataType": "Double", "classBreaks": true } ], "featureHyperlinks": [], "layerHyperlinks": [ { "encodeUriReplacementValues": "Automatic", "iconUri": null, "target": "_blank", "text": "More information about this layer...", "toolTip": null, "uri": "http://egis3.lacounty.gov/dataportal/2011/01/24/zip-codes-with-parcel-specific-boundaries/" } ], "arcadeExpressions": [ { "expression": "function sortDict(a,b) {\r\n\tif (a['count'] < b['count']) return 1;\r\n\tif (a['count'] > b['count']) return -1;\r\n\treturn 0;\r\n}\r\n\r\nfunction topX(typeField, layerId, numResults) {\r\n\r\n\tvar features = Intersects(FeatureSetById($map,layerId,[typeField],true),$feature);\r\n\tvar typeDict = {};\r\n\r\n\tfor (var feature in features) {\r\n\t\tif (HasKey(typeDict, feature[typeField])) {\r\n\t\t\ttypeDict[Text(feature[typeField])]++;\r\n\t\t} else {\r\n\t\t\ttypeDict[Text(feature[typeField])] = 1;\r\n\t\t}\r\n\t}\r\n\t\r\n\tvar i = 0;\r\n\tvar typeArray = [];\r\n\tfor (var key in typeDict) {\r\n\t\ttypeArray[i++] = {'type': key, 'count': typeDict[key]};\r\n\t}\r\n\t\t\r\n\tvar top = Top(Sort(typeArray, sortDict), numResults);\r\n\t\r\n\tvar result = \"\";\r\n\tfor (var i in top) {\r\n\t\tresult += top[i].type + \": \" + top[i].count + TextFormatting.NewLine;\r\n\t}\r\n\r\n\tif (IsEmpty(result)) {\r\n\t\tresult = \"None found.\"\r\n\t}\r\n\t\r\n\treturn result;\r\n}\r\n\r\nreturn topX('cat2','1029',5);", "token": "Culture" } ], "isDynamic": false, "dynamicDefinition": null, "charts": [ { "id": "Historical_Payroll", "displayName": "Payroll", "chartFeatureType": 0, "defaultChart": false, "chartDefinition": { "area": { "background": [ 255, 255, 255, 255 ], "foreground": [ 0, 0, 0, 255 ], "showToolTips": true, "showLabels": false, "showVerticalStrips": true, "showHorizontalStrips": false, "showVerticalGridLines": false, "showHorizontalGridLines": true, "enableVerticalZoom": false, "enableHorizontalZoom": false, "actionSelect": true, "actionPan": false, "actionZoom": false, "actionFeatureDetails": false, "actionRunCommand": false, "commandName": "", "commandParameter": "", "dragMode": 0, "enableTrackBall": false, "enableCommonSeriesRange": false, "enableColorPalette": false, "colorPalette": 15 }, "chartType": "Linear", "legend": { "title": "Legend", "position": "Right" }, "category": { "field": { "name": "Year", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 1, "dataLinkId": "Historical_Employment_Data", "isContinuous": false, "isNumerical": false }, "axis": { "visible": true, "title": "Year", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false } }, "flipChart": false, "visible": true, "series": [ { "id": "Payroll-Series", "displayName": "Untitled Series", "seriesType": "Line", "field": { "name": "Annual Payroll", "displayFormat": "", "sortingFormat": "000000000000000.###############", "sourceType": 1, "dataLinkId": "Historical_Employment_Data", "isContinuous": false, "isNumerical": false }, "title": "Total Payroll", "timeZoneId": null, "valueFormat": "C0$USD", "color": [ 27, 125, 191, 255 ], "labelType": "None", "markerType": "Circle", "valueAggregatorName": "Sum", "axis": { "visible": true, "title": "Total Payroll (1000's)", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "NAME", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "Historical_Employment_Data", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null } ] } }, { "id": "Historical_Employees", "displayName": "Employees", "chartFeatureType": 0, "defaultChart": false, "chartDefinition": { "area": { "background": [ 255, 255, 255, 255 ], "foreground": [ 0, 0, 0, 255 ], "showToolTips": true, "showLabels": false, "showVerticalStrips": true, "showHorizontalStrips": false, "showVerticalGridLines": false, "showHorizontalGridLines": true, "enableVerticalZoom": false, "enableHorizontalZoom": false, "actionSelect": true, "actionPan": false, "actionZoom": false, "actionFeatureDetails": false, "actionRunCommand": false, "commandName": "", "commandParameter": "", "dragMode": 1, "enableTrackBall": false, "enableCommonSeriesRange": false, "enableColorPalette": false, "colorPalette": 15 }, "chartType": "Linear", "legend": { "title": "Legend", "position": "Right" }, "category": { "field": { "name": "Year", "displayFormat": "", "sortingFormat": "", "sourceType": 1, "dataLinkId": "Historical_Employment_Data", "isContinuous": false, "isNumerical": false }, "axis": { "visible": true, "title": "Year", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false } }, "flipChart": false, "visible": true, "series": [ { "id": "Employees-Series", "displayName": "Untitled Series", "seriesType": "Line", "field": { "name": "Total Employees", "displayFormat": "", "sortingFormat": "", "sourceType": 1, "dataLinkId": "Historical_Employment_Data", "isContinuous": false, "isNumerical": false }, "title": "Employees", "timeZoneId": null, "valueFormat": "0", "color": [ 40, 184, 40, 255 ], "labelType": "None", "markerType": "Circle", "valueAggregatorName": "Sum", "axis": { "visible": true, "title": "Employees", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "Total Employees", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "Historical_Employment_Data", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null } ] } }, { "id": "Historical_Businesses", "displayName": "Businesses", "chartFeatureType": 0, "defaultChart": false, "chartDefinition": { "area": { "background": [ 255, 255, 255, 255 ], "foreground": [ 0, 0, 0, 255 ], "showToolTips": true, "showLabels": false, "showVerticalStrips": true, "showHorizontalStrips": false, "showVerticalGridLines": false, "showHorizontalGridLines": true, "enableVerticalZoom": false, "enableHorizontalZoom": false, "actionSelect": true, "actionPan": false, "actionZoom": false, "actionFeatureDetails": false, "actionRunCommand": false, "commandName": "", "commandParameter": "", "dragMode": 1, "enableTrackBall": false, "enableCommonSeriesRange": false, "enableColorPalette": false, "colorPalette": 15 }, "chartType": "Linear", "legend": { "title": "Legend", "position": "Right" }, "category": { "field": { "name": "Year", "displayFormat": "", "sortingFormat": "", "sourceType": 1, "dataLinkId": "Historical_Employment_Data", "isContinuous": false, "isNumerical": false }, "axis": { "visible": true, "title": "Year", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false } }, "flipChart": false, "visible": true, "series": [ { "id": "Businesses-Series", "displayName": "Untitled Series", "seriesType": "Line", "field": { "name": "Total Businesses", "displayFormat": "", "sortingFormat": "", "sourceType": 1, "dataLinkId": "Historical_Employment_Data", "isContinuous": false, "isNumerical": false }, "title": "Businesses", "timeZoneId": null, "valueFormat": "0", "color": [ 41, 173, 255, 255 ], "labelType": "None", "markerType": "Circle", "valueAggregatorName": "Sum", "axis": { "visible": true, "title": "Total Businesses", "showLabels": true, "minimum": null, "maximum": null, "positionOpposite": false, "axisLabelMode": 0, "showTicks": true, "reverseValues": false }, "seriesBreak": { "breakType": 0, "field": { "name": "Total Businesses", "displayFormat": "", "sortingFormat": "", "sourceType": 0, "dataLinkId": "Historical_Employment_Data", "isContinuous": false, "isNumerical": false } }, "displayTimeZoneId": null } ] } } ], "themeSettings": [], "tileLevelLimits": [] } ], "tables": [], "fullExtent": { "xmin": -13828641.390854347, "ymin": 3831695.20741906, "xmax": -12718890.841491897, "ymax": 5189444.4621689841, "spatialReference": { "wkid": 102100 } }, "spatialReference": { "wkid": 102100 }, "properties": [], "extensions": [] }