{"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": "Sede"}, {"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": "Instalação de Produção"}, {"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": "Refinaria de Óleo"}, {"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": "Instalação de Tratamento"}, {"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": "Instalação de Armazenamento"}, {"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": "Armazém"}, {"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": "Instalação de Processamento de Gás"}, {"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": "Escritórios"}, {"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": "Complexo Residencial"}, {"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": "Instalação Não Especificada"}, {"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": "Tanque de Armazenamento de Água"}, {"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": "Tanque de Neutralização"}, {"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": "Tanque de Petróleo Não Refinado"}, {"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": "Produto e Tanque Intermediário"}, {"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": "Tanque de Esoamento"}, {"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": "Poço de Lama"}, {"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": "Poço de Escumação"}, {"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": "Poço de Sedimento"}, {"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": "Poço de Infiltração"}, {"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": "Poço de Evaporação"}]}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "Áreas", "hasAttachments": false, "typeIdField": "TYPEID", "capabilities": "Query,Editing", "types": [{"id": 0, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Sede", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Sede", "TYPEID": 0}}}], "domains": {}, "name": "Sede"}, {"id": 1, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Instalação de Produção", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Instalação de Produção", "TYPEID": 1}}}], "domains": {}, "name": "Instalação de Produção"}, {"id": 2, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Refinaria de Óleo", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Refinaria de Óleo", "TYPEID": 2}}}], "domains": {}, "name": "Refinaria de Óleo"}, {"id": 3, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Instalação de Tratamento", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Instalação de Tratamento", "TYPEID": 3}}}], "domains": {}, "name": "Instalação de Tratamento"}, {"id": 4, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Instalação de Armazenamento", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Instalação de Armazenamento", "TYPEID": 4}}}], "domains": {}, "name": "Instalação de Armazenamento"}, {"id": 5, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Armazém", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Armazém", "TYPEID": 5}}}], "domains": {}, "name": "Armazém"}, {"id": 6, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Instalação de Processamento de Gás", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Instalação de Processamento de Gás", "TYPEID": 6}}}], "domains": {}, "name": "Instalação de Processamento de Gás"}, {"id": 7, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Escritórios", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Escritórios", "TYPEID": 7}}}], "domains": {}, "name": "Escritórios"}, {"id": 8, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Complexo Residencial", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Complexo Residencial", "TYPEID": 8}}}], "domains": {}, "name": "Complexo Residencial"}, {"id": 9, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Instalação Não Especificada", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Instalação Não Especificada", "TYPEID": 9}}}], "domains": {}, "name": "Instalação Não Especificada"}, {"id": 10, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Tanque de Armazenamento de Água", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Tanque de Armazenamento de Água", "TYPEID": 10}}}], "domains": {}, "name": "Tanque de Armazenamento de Água"}, {"id": 11, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Tanque de Neutralização", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Tanque de Neutralização", "TYPEID": 11}}}], "domains": {}, "name": "Tanque de Neutralização"}, {"id": 12, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Tanque de Petróleo Não Refinado", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Tanque de Petróleo Não Refinado", "TYPEID": 12}}}], "domains": {}, "name": "Tanque de Petróleo Não Refinado"}, {"id": 13, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Produto e Tanque Intermediário", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Produto e Tanque Intermediário", "TYPEID": 13}}}], "domains": {}, "name": "Produto e Tanque Intermediário"}, {"id": 14, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Tanque de Esoamento", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Tanque de Esoamento", "TYPEID": 14}}}], "domains": {}, "name": "Tanque de Esoamento"}, {"id": 15, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Poço de Lama", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Poço de Lama", "TYPEID": 15}}}], "domains": {}, "name": "Poço de Lama"}, {"id": 16, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Poço de Escumação", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Poço de Escumação", "TYPEID": 16}}}], "domains": {}, "name": "Poço de Escumação"}, {"id": 17, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Poço de Sedimento", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Poço de Sedimento", "TYPEID": 17}}}], "domains": {}, "name": "Poço de Sedimento"}, {"id": 18, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Poço de Infiltração", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Poço de Infiltração", "TYPEID": 18}}}], "domains": {}, "name": "Poço de Infiltração"}, {"id": 19, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Poço de Evaporação", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Poço de Evaporação", "TYPEID": 19}}}], "domains": {}, "name": "Poço de Evaporação"}], "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": "Água"}, {"symbol": {"style": "esriSLSSolid", "color": [111, 198, 83, 255], "width": 1.5, "type": "esriSLS"}, "description": "", "value": "1", "label": "Esgoto"}, {"symbol": {"style": "esriSLSSolid", "color": [0, 0, 0, 255], "width": 1.5, "type": "esriSLS"}, "description": "", "value": "2", "label": "Petróleo Não Refinado"}, {"symbol": {"style": "esriSLSSolid", "color": [255, 255, 0, 255], "width": 1.5, "type": "esriSLS"}, "description": "", "value": "3", "label": "Gás Natural"}, {"symbol": {"style": "esriSLSSolid", "color": [250, 52, 17, 255], "width": 1.5, "type": "esriSLS"}, "description": "", "value": "4", "label": "Produto"}, {"symbol": {"style": "esriSLSSolid", "color": [170, 170, 170, 255], "width": 2, "type": "esriSLS"}, "description": "", "value": "5", "label": "Líquido de Gás Natural"}]}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "Dutos", "hasAttachments": false, "typeIdField": "TYPEID", "capabilities": "Query,Editing", "types": [{"id": 0, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "Água", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Água", "TYPEID": 0}}}], "domains": {}, "name": "Água"}, {"id": 1, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "Esgoto", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Esgoto", "TYPEID": 1}}}], "domains": {}, "name": "Esgoto"}, {"id": 2, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "Petróleo Não Refinado", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Petróleo Não Refinado", "TYPEID": 2}}}], "domains": {}, "name": "Petróleo Não Refinado"}, {"id": 3, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "Gás Natural", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Gás Natural", "TYPEID": 3}}}], "domains": {}, "name": "Gás Natural"}, {"id": 4, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "Produto", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Produto", "TYPEID": 4}}}], "domains": {}, "name": "Produto"}, {"id": 5, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "Líquido de Gás Natural", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Líquido de Gás Natural", "TYPEID": 5}}}], "domains": {}, "name": "Líquido de Gás Natural"}], "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": "Rótulos de Infraestrutura", "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": "Cópias"}, {"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": "Bomba"}, {"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": "Válvula"}, {"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": "Poço"}]}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "Infraestrutura de Gás e Óleo", "hasAttachments": false, "typeIdField": "TYPEID", "capabilities": "Query,Editing", "types": [{"id": 0, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Cópias", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Cópias", "TYPEID": 0}}}], "domains": {}, "name": "Cópias"}, {"id": 1, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Bomba", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Bomba", "TYPEID": 1}}}], "domains": {}, "name": "Bomba"}, {"id": 2, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Válvula", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Válvula", "TYPEID": 2}}}], "domains": {}, "name": "Válvula"}, {"id": 3, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Poço", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Poço", "TYPEID": 3}}}], "domains": {}, "name": "Poço"}], "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}"}}]}