{"showLegend": true, "layers": [{"layerDefinition": {"objectIdField": "OBJECTID", "templates": [], "type": "Feature Layer", "drawingInfo": {"renderer": {"field1": "TYPEID", "type": "uniqueValue", "uniqueValueInfos": [{"symbol": {"style": "esriSFSSolid", "color": [226, 58, 63, 255], "outline": {"style": "esriSLSSolid", "color": [52, 52, 52, 255], "width": 0.4, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "0", "label": "總部"}, {"symbol": {"style": "esriSFSSolid", "color": [0, 153, 215, 255], "outline": {"style": "esriSLSSolid", "color": [52, 52, 52, 255], "width": 0.4, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "1", "label": "生產設施"}, {"symbol": {"style": "esriSFSSolid", "color": [122, 25, 115, 255], "outline": {"style": "esriSLSSolid", "color": [52, 52, 52, 255], "width": 0.4, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "2", "label": "煉油廠"}, {"symbol": {"style": "esriSFSSolid", "color": [244, 142, 73, 255], "outline": {"style": "esriSLSSolid", "color": [52, 52, 52, 255], "width": 0.5, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "3", "label": "處理設施"}, {"symbol": {"style": "esriSFSSolid", "color": [0, 159, 98, 255], "outline": {"style": "esriSLSSolid", "color": [52, 52, 52, 255], "width": 0.4, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "4", "label": "儲存設施"}, {"symbol": {"style": "esriSFSSolid", "color": [0, 0, 0, 255], "outline": {"style": "esriSLSSolid", "color": [0, 0, 0, 255], "width": 0.25, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "5", "label": "倉庫"}, {"symbol": {"style": "esriSFSSolid", "color": [121, 200, 0, 255], "outline": {"style": "esriSLSSolid", "color": [78, 78, 78, 255], "width": 0.4, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "6", "label": "氣體處理設施"}, {"symbol": {"style": "esriSFSSolid", "color": [101, 199, 237, 255], "outline": {"style": "esriSLSSolid", "color": [52, 52, 52, 255], "width": 0.4, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "7", "label": "辦公室"}, {"symbol": {"style": "esriSFSSolid", "color": [254, 177, 25, 255], "outline": {"style": "esriSLSSolid", "color": [52, 52, 52, 255], "width": 0.4, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "8", "label": "複合住宅"}, {"symbol": {"style": "esriSFSSolid", "color": [197, 135, 243, 255], "outline": {"style": "esriSLSSolid", "color": [52, 52, 52, 255], "width": 0.4, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "9", "label": "未指明的設施"}, {"symbol": {"style": "esriSFSSolid", "color": [0, 0, 255, 255], "outline": {"style": "esriSLSSolid", "color": [110, 110, 110, 255], "width": 1, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "10", "label": "儲水槽"}, {"symbol": {"style": "esriSFSSolid", "color": [85, 255, 0, 255], "outline": {"style": "esriSLSSolid", "color": [78, 78, 78, 255], "width": 1, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "11", "label": "中和槽"}, {"symbol": {"style": "esriSFSSolid", "color": [52, 52, 52, 255], "outline": {"style": "esriSLSSolid", "color": [0, 0, 0, 255], "width": 0.4, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "12", "label": "原油槽"}, {"symbol": {"style": "esriSFSSolid", "color": [255, 0, 0, 255], "outline": {"style": "esriSLSSolid", "color": [52, 52, 52, 255], "width": 1, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "13", "label": "產品和中間槽"}, {"symbol": {"style": "esriSFSSolid", "color": [241, 224, 34, 255], "outline": {"style": "esriSLSSolid", "color": [78, 78, 78, 255], "width": 1, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "14", "label": "分配槽"}, {"symbol": {"style": "esriSFSSolid", "color": [215, 194, 158, 255], "outline": {"style": "esriSLSSolid", "color": [52, 52, 52, 255], "width": 0.4, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "15", "label": "泥坑"}, {"symbol": {"style": "esriSFSSolid", "color": [128, 179, 179, 255], "outline": {"style": "esriSLSSolid", "color": [52, 52, 52, 255], "width": 0.4, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "16", "label": "撇油池"}, {"symbol": {"style": "esriSFSSolid", "color": [137, 137, 68, 255], "outline": {"style": "esriSLSSolid", "color": [52, 52, 52, 255], "width": 0.4, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "17", "label": "沉澱池"}, {"symbol": {"style": "esriSFSSolid", "color": [255, 255, 190, 255], "outline": {"style": "esriSLSSolid", "color": [0, 0, 0, 255], "width": 0.4, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "18", "label": "滲坑"}, {"symbol": {"style": "esriSFSSolid", "color": [111, 198, 83, 255], "outline": {"style": "esriSLSSolid", "color": [78, 78, 78, 255], "width": 1, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "19", "label": "蒸發坑"}]}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "區域", "hasAttachments": false, "typeIdField": "TYPEID", "capabilities": "Query,Editing", "types": [{"id": 0, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "總部", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "總部", "TYPEID": 0}}}], "domains": {}, "name": "總部"}, {"id": 1, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "生產設施", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "生產設施", "TYPEID": 1}}}], "domains": {}, "name": "生產設施"}, {"id": 2, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "煉油廠", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "煉油廠", "TYPEID": 2}}}], "domains": {}, "name": "煉油廠"}, {"id": 3, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "處理設施", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "處理設施", "TYPEID": 3}}}], "domains": {}, "name": "處理設施"}, {"id": 4, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "儲存設施", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "儲存設施", "TYPEID": 4}}}], "domains": {}, "name": "儲存設施"}, {"id": 5, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "倉庫", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "倉庫", "TYPEID": 5}}}], "domains": {}, "name": "倉庫"}, {"id": 6, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "氣體處理設施", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "氣體處理設施", "TYPEID": 6}}}], "domains": {}, "name": "氣體處理設施"}, {"id": 7, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "辦公室", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "辦公室", "TYPEID": 7}}}], "domains": {}, "name": "辦公室"}, {"id": 8, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "複合住宅", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "複合住宅", "TYPEID": 8}}}], "domains": {}, "name": "複合住宅"}, {"id": 9, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "未指明的設施", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "未指明的設施", "TYPEID": 9}}}], "domains": {}, "name": "未指明的設施"}, {"id": 10, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "儲水槽", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "儲水槽", "TYPEID": 10}}}], "domains": {}, "name": "儲水槽"}, {"id": 11, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "中和槽", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "中和槽", "TYPEID": 11}}}], "domains": {}, "name": "中和槽"}, {"id": 12, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "原油槽", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "原油槽", "TYPEID": 12}}}], "domains": {}, "name": "原油槽"}, {"id": 13, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "產品和中間槽", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "產品和中間槽", "TYPEID": 13}}}], "domains": {}, "name": "產品和中間槽"}, {"id": 14, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "分配槽", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "分配槽", "TYPEID": 14}}}], "domains": {}, "name": "分配槽"}, {"id": 15, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "泥坑", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "泥坑", "TYPEID": 15}}}], "domains": {}, "name": "泥坑"}, {"id": 16, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "撇油池", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "撇油池", "TYPEID": 16}}}], "domains": {}, "name": "撇油池"}, {"id": 17, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "沉澱池", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "沉澱池", "TYPEID": 17}}}], "domains": {}, "name": "沉澱池"}, {"id": 18, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "滲坑", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "滲坑", "TYPEID": 18}}}], "domains": {}, "name": "滲坑"}, {"id": 19, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "蒸發坑", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "蒸發坑", "TYPEID": 19}}}], "domains": {}, "name": "蒸發坑"}], "geometryType": "esriGeometryPolygon", "fields": [{"alias": "OBJECTID", "name": "OBJECTID", "type": "esriFieldTypeOID", "editable": false}, {"alias": "Title", "name": "TITLE", "length": 255, "type": "esriFieldTypeString", "editable": true}, {"alias": "Visible", "name": "VISIBLE", "type": "esriFieldTypeInteger", "editable": true}, {"alias": "Description", "name": "DESCRIPTION", "length": 1073741822, "type": "esriFieldTypeString", "editable": true}, {"alias": "Image URL", "name": "IMAGE_URL", "length": 255, "type": "esriFieldTypeString", "editable": true}, {"alias": "Image Link URL", "name": "IMAGE_LINK_URL", "length": 255, "type": "esriFieldTypeString", "editable": true}, {"alias": "DATE", "name": "DATE", "length": 36, "type": "esriFieldTypeDate", "editable": true}, {"alias": "Type ID", "name": "TYPEID", "type": "esriFieldTypeInteger", "editable": true}]}, "popupInfo": {"mediaInfos": [{"value": {"sourceURL": "{IMAGE_URL}", "linkURL": "{IMAGE_LINK_URL}"}, "type": "image"}], "title": "{TITLE}", "description": "{DESCRIPTION}"}}, {"layerDefinition": {"objectIdField": "OBJECTID", "templates": [], "type": "Feature Layer", "drawingInfo": {"renderer": {"field1": "TYPEID", "type": "uniqueValue", "uniqueValueInfos": [{"symbol": {"style": "esriSLSSolid", "color": [10, 147, 252, 255], "width": 1.2, "type": "esriSLS"}, "description": "", "value": "0", "label": "水"}, {"symbol": {"style": "esriSLSSolid", "color": [111, 198, 83, 255], "width": 1.5, "type": "esriSLS"}, "description": "", "value": "1", "label": "污水"}, {"symbol": {"style": "esriSLSSolid", "color": [0, 0, 0, 255], "width": 1.5, "type": "esriSLS"}, "description": "", "value": "2", "label": "原油"}, {"symbol": {"style": "esriSLSSolid", "color": [255, 255, 0, 255], "width": 1.5, "type": "esriSLS"}, "description": "", "value": "3", "label": "天然氣"}, {"symbol": {"style": "esriSLSSolid", "color": [250, 52, 17, 255], "width": 1.5, "type": "esriSLS"}, "description": "", "value": "4", "label": "產品"}, {"symbol": {"style": "esriSLSSolid", "color": [170, 170, 170, 255], "width": 2, "type": "esriSLS"}, "description": "", "value": "5", "label": "液態天然氣"}]}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "管線", "hasAttachments": false, "typeIdField": "TYPEID", "capabilities": "Query,Editing", "types": [{"id": 0, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "水", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "水", "TYPEID": 0}}}], "domains": {}, "name": "水"}, {"id": 1, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "污水", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "污水", "TYPEID": 1}}}], "domains": {}, "name": "污水"}, {"id": 2, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "原油", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "原油", "TYPEID": 2}}}], "domains": {}, "name": "原油"}, {"id": 3, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "天然氣", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "天然氣", "TYPEID": 3}}}], "domains": {}, "name": "天然氣"}, {"id": 4, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "產品", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "產品", "TYPEID": 4}}}], "domains": {}, "name": "產品"}, {"id": 5, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "液態天然氣", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "液態天然氣", "TYPEID": 5}}}], "domains": {}, "name": "液態天然氣"}], "geometryType": "esriGeometryPolyline", "fields": [{"alias": "OBJECTID", "name": "OBJECTID", "type": "esriFieldTypeOID", "editable": false}, {"alias": "Title", "name": "TITLE", "length": 255, "type": "esriFieldTypeString", "editable": true}, {"alias": "Visible", "name": "VISIBLE", "type": "esriFieldTypeInteger", "editable": true}, {"alias": "Description", "name": "DESCRIPTION", "length": 1073741822, "type": "esriFieldTypeString", "editable": true}, {"alias": "Image URL", "name": "IMAGE_URL", "length": 255, "type": "esriFieldTypeString", "editable": true}, {"alias": "Image Link URL", "name": "IMAGE_LINK_URL", "length": 255, "type": "esriFieldTypeString", "editable": true}, {"alias": "DATE", "name": "DATE", "length": 36, "type": "esriFieldTypeDate", "editable": true}, {"alias": "Type ID", "name": "TYPEID", "type": "esriFieldTypeInteger", "editable": true}]}, "popupInfo": {"mediaInfos": [{"value": {"sourceURL": "{IMAGE_URL}", "linkURL": "{IMAGE_LINK_URL}"}, "type": "image"}], "title": "{TITLE}", "description": "{DESCRIPTION}"}}, {"layerDefinition": {"objectIdField": "OBJECTID", "templates": [], "type": "Feature Layer", "drawingInfo": {"renderer": {"field1": "TYPEID", "type": "uniqueValue", "uniqueValueInfos": []}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "基礎設施標籤", "hasAttachments": false, "typeIdField": "TYPEID", "capabilities": "Query,Editing", "types": [], "geometryType": "esriGeometryPoint", "fields": [{"alias": "OBJECTID", "name": "OBJECTID", "type": "esriFieldTypeOID", "editable": false}, {"alias": "Title", "name": "TITLE", "length": 255, "type": "esriFieldTypeString", "editable": true}, {"alias": "Visible", "name": "VISIBLE", "type": "esriFieldTypeInteger", "editable": true}, {"alias": "Description", "name": "DESCRIPTION", "length": 1073741822, "type": "esriFieldTypeString", "editable": true}, {"alias": "Image URL", "name": "IMAGE_URL", "length": 255, "type": "esriFieldTypeString", "editable": true}, {"alias": "Image Link URL", "name": "IMAGE_LINK_URL", "length": 255, "type": "esriFieldTypeString", "editable": true}, {"alias": "DATE", "name": "DATE", "length": 36, "type": "esriFieldTypeDate", "editable": true}, {"alias": "Type ID", "name": "TYPEID", "type": "esriFieldTypeInteger", "editable": true}, {"alias": "Text", "name": "TEXT", "length": 255, "type": "esriFieldTypeString", "editable": true}]}, "popupInfo": {"mediaInfos": [{"value": {"sourceURL": "{IMAGE_URL}", "linkURL": "{IMAGE_LINK_URL}"}, "type": "image"}], "title": "{TITLE}", "description": "{DESCRIPTION}"}}, {"layerDefinition": {"objectIdField": "OBJECTID", "templates": [], "type": "Feature Layer", "drawingInfo": {"renderer": {"field1": "TYPEID", "type": "uniqueValue", "uniqueValueInfos": [{"symbol": {"height": 24, "width": 24, "contentType": "image/png", "type": "esriPMS", "url": "https://maps.hamilton.govt.nz/portal/portalimages/Symbols/Infrastructure/manifold.png"}, "description": "", "value": "0", "label": "支管"}, {"symbol": {"height": 24, "width": 24, "contentType": "image/png", "type": "esriPMS", "url": "https://maps.hamilton.govt.nz/portal/portalimages/Symbols/Infrastructure/pump.png"}, "value": "1", "label": "泵"}, {"symbol": {"height": 24, "width": 24, "contentType": "image/png", "type": "esriPMS", "url": "https://maps.hamilton.govt.nz/portal/portalimages/Symbols/Infrastructure/valve.png"}, "value": "2", "label": "閥"}, {"symbol": {"height": 24, "width": 24, "contentType": "image/png", "type": "esriPMS", "url": "https://maps.hamilton.govt.nz/portal/portalimages/Symbols/Infrastructure/well.png"}, "value": "3", "label": "井"}]}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "石油天然氣基礎設施", "hasAttachments": false, "typeIdField": "TYPEID", "capabilities": "Query,Editing", "types": [{"id": 0, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "支管", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "支管", "TYPEID": 0}}}], "domains": {}, "name": "支管"}, {"id": 1, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "泵", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "泵", "TYPEID": 1}}}], "domains": {}, "name": "泵"}, {"id": 2, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "閥", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "閥", "TYPEID": 2}}}], "domains": {}, "name": "閥"}, {"id": 3, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "井", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "井", "TYPEID": 3}}}], "domains": {}, "name": "井"}], "geometryType": "esriGeometryPoint", "fields": [{"alias": "OBJECTID", "name": "OBJECTID", "type": "esriFieldTypeOID", "editable": false}, {"alias": "Title", "name": "TITLE", "length": 255, "type": "esriFieldTypeString", "editable": true}, {"alias": "Visible", "name": "VISIBLE", "type": "esriFieldTypeInteger", "editable": true}, {"alias": "Description", "name": "DESCRIPTION", "length": 1073741822, "type": "esriFieldTypeString", "editable": true}, {"alias": "Image URL", "name": "IMAGE_URL", "length": 255, "type": "esriFieldTypeString", "editable": true}, {"alias": "Image Link URL", "name": "IMAGE_LINK_URL", "length": 255, "type": "esriFieldTypeString", "editable": true}, {"alias": "DATE", "name": "DATE", "length": 36, "type": "esriFieldTypeDate", "editable": true}, {"alias": "Type ID", "name": "TYPEID", "type": "esriFieldTypeInteger", "editable": true}]}, "popupInfo": {"mediaInfos": [{"value": {"sourceURL": "{IMAGE_URL}", "linkURL": "{IMAGE_LINK_URL}"}, "type": "image"}], "title": "{TITLE}", "description": "{DESCRIPTION}"}}]}