{ "id": "75", "displayName": "ZArea", "shortDisplayName": null, "description": "", "connectionString": "layerMask=ZArea", "copyright": "", "hasAttributionData": false, "serviceType": "Dynamic", "serviceFunction": "Operational", "baseMapGroup": null, "baseMapGroupIndex": "", "baseMapGroupIsMutuallyExclusive": false, "opacity": 1, "visible": true, "initiallyVisible": true, "drawingBehavior": "MapService", "iconUri": null, "includeInLayerList": true, "defaultAllowSymbolization": true, "isExpanded": true, "updateInterval": null, "dataProvider": null, "disableClientCaching": null, "serviceTag": "yJmIvkWDzpriswJrbmVjzZPdJKjjtcBC/wm+T2I0/lY=", "identifiable": null, "includeMosaicDatasetValues": null, "includeCatalogItems": null, "includeInLegend": null, "startTime": null, "endTime": null, "serverVersion": "11.3", "failureAction": "Warn", "failureTimeout": null, "requestEncoding": null, "supportsDynamicLayers": true, "hasLayerCatalog": false, "format": null, "themeSettings": [ { "themeID": "2" }, { "themeID": "0" }, { "themeID": "1" } ], "layerHyperlinks": [], "tileInfo": {}, "instantSearch": false, "layers": [ { "id": "0", "name": "ZArea", "nativeID": "0", "displayName": "Z-Areas", "description": "", "defaultVisibility": true, "featureType": "Polygon", "type": "FeatureLayer", "maxScale": 2000, "minScale": 300000, "visible": false, "initiallyVisible": false, "showMapTips": true, "identifiable": true, "queryable": true, "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": true, "includeInLegend": true, "allowSymbolization": true, "legendUrl": null, "styleName": null, "drawIndex": null, "canToggleLabels": true, "showLabels": true, "dataProvider": null, "timeZoneId": "Etc/UTC", "featureLabel": "Z-Area {ZAREA}", "featureDescription": "Z-Area: {ZAREA}", "featureLongDescription": "For {zone}:
", "displayField": "MSLINK", "primaryKeyField": "OBJECTID", "fullExtent": { "xmin": -8884445.5746, "ymin": 5385525.5874999985, "xmax": -8854570.9555, "ymax": 5424846.5204999968, "spatialReference": { "wkid": 102100 } }, "parentLayerId": null, "subLayerIds": [], "hasReports": false, "hasDataLinks": false, "fields": [ { "displayName": "OBJECTID", "uniqueValue": true, "name": "OBJECTID", "alias": "OBJECTID", "visible": true, "dataType": "Int32", "classBreaks": true }, { "displayName": "Shape", "uniqueValue": false, "name": "Shape", "alias": "Shape", "visible": true, "dataType": "Object", "classBreaks": false }, { "displayName": "MSLINK", "uniqueValue": true, "name": "MSLINK", "alias": "MSLINK", "visible": true, "dataType": "Int32", "classBreaks": true }, { "displayName": "ZAREA", "uniqueValue": true, "name": "ZAREA", "alias": "ZAREA", "visible": true, "dataType": "String", "classBreaks": false }, { "displayName": "UTM_X", "uniqueValue": true, "name": "UTM_X", "alias": "UTM_X", "visible": true, "dataType": "Double", "classBreaks": true }, { "displayName": "UTM_Y", "uniqueValue": true, "name": "UTM_Y", "alias": "UTM_Y", "visible": true, "dataType": "Double", "classBreaks": true }, { "displayName": "GlobalID", "uniqueValue": true, "name": "GlobalID", "alias": "GlobalID", "visible": true, "dataType": "Guid", "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": [], "arcadeExpressions": [ { "expression": "var domain = \"https://www6.mississauga.ca/onlinemaps/planbldg/portsign/\";\r\nvar url = \"<\" + \"a href='\" + domain;\r\n\r\nif ($feature.ZAREA == '47' || $feature.ZAREA == '48E') {\r\n url += \"sign4748e.pdf\";\r\n} else {\r\n var zone = IIf(Count($feature.ZAREA) > 1, $feature.ZAREA, '0' + $feature.ZAREA);\r\n url += \"sign\" + zone + \".pdf\";\r\n}\r\n\r\nurl += \"' target='_blank'>Download PDF of portable sign map<\" + \"/a>\";\r\nreturn url;", "token": "linkPS" }, { "expression": "var domain = \"https://www6.mississauga.ca/onlinemaps/tranwork/design/pdf/stguide/\";\r\nvar url = \"<\" + \"a href='\" + domain;\r\n\r\nif (Count($feature.ZAREA) == 1) {\r\n url += \"z0\" + $feature.ZAREA + \"-001.pdf\";\r\n} else if ($feature.ZAREA == '47' || $feature.ZAREA == '48E') {\r\n url += \"z4748e-001.pdf\";\r\n} else {\r\n url += \"z\" + $feature.ZAREA + \"-001.pdf\";\r\n}\r\n\r\nurl += \"' target='_blank'>Download PDF of street map<\" + \"/a>\";\r\nreturn url;", "token": "linkSG" }, { "expression": "var zone = \"Zone \" + $feature.ZAREA;\r\n\r\nif ($feature.ZAREA == '47') {\r\n zone += \" (combined with Zone 48E)\";\r\n} else if ($feature.ZAREA == '48E') {\r\n zone += \" (combined with Zone 47)\";\r\n}\r\n\r\nreturn zone;", "token": "zone" } ], "isDynamic": false, "dynamicDefinition": null, "themeSettings": [ { "themeID": "2", "visible": true }, { "themeID": "0", "visible": true, "initiallyVisible": false }, { "themeID": "1", "visible": false } ], "tileLevelLimits": [] } ], "tables": [], "fullExtent": { "xmin": -8884446.8406, "ymin": 5385525.5858, "xmax": -8854423.9185, "ymax": 5425475.4498, "spatialReference": { "wkid": 102100 } }, "spatialReference": { "wkid": 102100 }, "properties": [], "extensions": [] }