{"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": "Seu central"}, {"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": "Centre de producció"}, {"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": "Refineria de petroli"}, {"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": "Instal·lació de tractament"}, {"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": "Instal·lació d'emmagatzematge"}, {"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": "Magatzem"}, {"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": "Instal·lació de processament de gas"}, {"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": "Oficines"}, {"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": "Condomini"}, {"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": "Instal·lació no 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": "Tanc d'emmagatzematge d'aigua"}, {"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": "Tanc de neutralització"}, {"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": "Tanc de cru"}, {"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": "Tanc intermedi i de productes"}, {"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": "Tanc de recepció"}, {"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": "Bassa de llots"}, {"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": "Desgreixador"}, {"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": "Dipòsit de sediments"}, {"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": "Percolador"}, {"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": "Bassa d'evaporació"}]}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "Àrees", "hasAttachments": false, "typeIdField": "TYPEID", "capabilities": "Query,Editing", "types": [{"id": 0, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Seu central", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Seu central", "TYPEID": 0}}}], "domains": {}, "name": "Seu central"}, {"id": 1, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Centre de producció", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Centre de producció", "TYPEID": 1}}}], "domains": {}, "name": "Centre de producció"}, {"id": 2, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Refineria de petroli", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Refineria de petroli", "TYPEID": 2}}}], "domains": {}, "name": "Refineria de petroli"}, {"id": 3, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Instal·lació de tractament", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Instal·lació de tractament", "TYPEID": 3}}}], "domains": {}, "name": "Instal·lació de tractament"}, {"id": 4, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Instal·lació d'emmagatzematge", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Instal·lació d'emmagatzematge", "TYPEID": 4}}}], "domains": {}, "name": "Instal·lació d'emmagatzematge"}, {"id": 5, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Magatzem", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Magatzem", "TYPEID": 5}}}], "domains": {}, "name": "Magatzem"}, {"id": 6, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Instal·lació de processament de gas", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Instal·lació de processament de gas", "TYPEID": 6}}}], "domains": {}, "name": "Instal·lació de processament de gas"}, {"id": 7, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Oficines", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Oficines", "TYPEID": 7}}}], "domains": {}, "name": "Oficines"}, {"id": 8, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Condomini", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Condomini", "TYPEID": 8}}}], "domains": {}, "name": "Condomini"}, {"id": 9, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Instal·lació no especificada", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Instal·lació no especificada", "TYPEID": 9}}}], "domains": {}, "name": "Instal·lació no especificada"}, {"id": 10, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Tanc d'emmagatzematge d'aigua", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Tanc d'emmagatzematge d'aigua", "TYPEID": 10}}}], "domains": {}, "name": "Tanc d'emmagatzematge d'aigua"}, {"id": 11, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Tanc de neutralització", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Tanc de neutralització", "TYPEID": 11}}}], "domains": {}, "name": "Tanc de neutralització"}, {"id": 12, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Tanc de cru", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Tanc de cru", "TYPEID": 12}}}], "domains": {}, "name": "Tanc de cru"}, {"id": 13, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Tanc intermedi i de productes", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Tanc intermedi i de productes", "TYPEID": 13}}}], "domains": {}, "name": "Tanc intermedi i de productes"}, {"id": 14, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Tanc de recepció", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Tanc de recepció", "TYPEID": 14}}}], "domains": {}, "name": "Tanc de recepció"}, {"id": 15, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Bassa de llots", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Bassa de llots", "TYPEID": 15}}}], "domains": {}, "name": "Bassa de llots"}, {"id": 16, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Desgreixador", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Desgreixador", "TYPEID": 16}}}], "domains": {}, "name": "Desgreixador"}, {"id": 17, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Dipòsit de sediments", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Dipòsit de sediments", "TYPEID": 17}}}], "domains": {}, "name": "Dipòsit de sediments"}, {"id": 18, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Percolador", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Percolador", "TYPEID": 18}}}], "domains": {}, "name": "Percolador"}, {"id": 19, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Bassa d'evaporació", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Bassa d'evaporació", "TYPEID": 19}}}], "domains": {}, "name": "Bassa d'evaporació"}], "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": "Aigua"}, {"symbol": {"style": "esriSLSSolid", "color": [111, 198, 83, 255], "width": 1.5, "type": "esriSLS"}, "description": "", "value": "1", "label": "Aigües residuals"}, {"symbol": {"style": "esriSLSSolid", "color": [0, 0, 0, 255], "width": 1.5, "type": "esriSLS"}, "description": "", "value": "2", "label": "Cru"}, {"symbol": {"style": "esriSLSSolid", "color": [255, 255, 0, 255], "width": 1.5, "type": "esriSLS"}, "description": "", "value": "3", "label": "Gas natural"}, {"symbol": {"style": "esriSLSSolid", "color": [250, 52, 17, 255], "width": 1.5, "type": "esriSLS"}, "description": "", "value": "4", "label": "Producte"}, {"symbol": {"style": "esriSLSSolid", "color": [170, 170, 170, 255], "width": 2, "type": "esriSLS"}, "description": "", "value": "5", "label": "Gas natural liquat"}]}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "Conducció", "hasAttachments": false, "typeIdField": "TYPEID", "capabilities": "Query,Editing", "types": [{"id": 0, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "Aigua", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Aigua", "TYPEID": 0}}}], "domains": {}, "name": "Aigua"}, {"id": 1, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "Aigües residuals", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Aigües residuals", "TYPEID": 1}}}], "domains": {}, "name": "Aigües residuals"}, {"id": 2, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "Cru", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Cru", "TYPEID": 2}}}], "domains": {}, "name": "Cru"}, {"id": 3, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "Gas natural", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Gas natural", "TYPEID": 3}}}], "domains": {}, "name": "Gas natural"}, {"id": 4, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "Producte", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Producte", "TYPEID": 4}}}], "domains": {}, "name": "Producte"}, {"id": 5, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "Gas natural liquat", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Gas natural liquat", "TYPEID": 5}}}], "domains": {}, "name": "Gas natural liquat"}], "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": "Etiquetes d'infraestructura", "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": "Col·lector"}, {"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": "Pou"}]}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "Infraestructura de gas i petroli", "hasAttachments": false, "typeIdField": "TYPEID", "capabilities": "Query,Editing", "types": [{"id": 0, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Col·lector", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Col·lector", "TYPEID": 0}}}], "domains": {}, "name": "Col·lector"}, {"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": "Pou", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Pou", "TYPEID": 3}}}], "domains": {}, "name": "Pou"}], "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}"}}]}