{"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": "Impianto di produzione"}, {"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": "Raffineria di petrolio"}, {"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": "Casa di cura"}, {"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": "Deposito"}, {"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": "Magazzino"}, {"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": "Impianto di trattamento 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": "Uffici"}, {"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": "Zona residenziale"}, {"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": "Struttura non specificata"}, {"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": "Cisterna per acqua"}, {"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": "Serbatoio di neutralizzazione"}, {"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": "Serbatoio per greggio"}, {"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": "Serbatoio prodotto e intermedio"}, {"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": "Cisterna"}, {"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": "Fangaia"}, {"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": "Fossa di scrematura"}, {"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": "Fossa di sedimentazione"}, {"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": "Fossa di percolazione"}, {"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": "Fossa di evaporazione"}]}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "Aree", "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": "Impianto di produzione", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Impianto di produzione", "TYPEID": 1}}}], "domains": {}, "name": "Impianto di produzione"}, {"id": 2, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Raffineria di petrolio", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Raffineria di petrolio", "TYPEID": 2}}}], "domains": {}, "name": "Raffineria di petrolio"}, {"id": 3, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Casa di cura", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Casa di cura", "TYPEID": 3}}}], "domains": {}, "name": "Impianto di Trattamento"}, {"id": 4, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Deposito", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Deposito", "TYPEID": 4}}}], "domains": {}, "name": "Deposito"}, {"id": 5, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Magazzino", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Magazzino", "TYPEID": 5}}}], "domains": {}, "name": "Magazzino"}, {"id": 6, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Impianto di trattamento gas", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Impianto di trattamento gas", "TYPEID": 6}}}], "domains": {}, "name": "Impianto di trattamento gas"}, {"id": 7, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Uffici", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Uffici", "TYPEID": 7}}}], "domains": {}, "name": "Uffici"}, {"id": 8, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Zona residenziale", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Zona residenziale", "TYPEID": 8}}}], "domains": {}, "name": "Zona residenziale"}, {"id": 9, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Struttura non specificata", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Struttura non specificata", "TYPEID": 9}}}], "domains": {}, "name": "Struttura non specificata"}, {"id": 10, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Cisterna per acqua", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Cisterna per acqua", "TYPEID": 10}}}], "domains": {}, "name": "Cisterna per acqua"}, {"id": 11, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Serbatoio di neutralizzazione", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Serbatoio di neutralizzazione", "TYPEID": 11}}}], "domains": {}, "name": "Serbatoio di neutralizzazione"}, {"id": 12, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Serbatoio per greggio", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Serbatoio per greggio", "TYPEID": 12}}}], "domains": {}, "name": "Serbatoio per greggio"}, {"id": 13, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Serbatoio prodotto e intermedio", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Serbatoio prodotto e intermedio", "TYPEID": 13}}}], "domains": {}, "name": "Serbatoio prodotto e intermedio"}, {"id": 14, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Cisterna", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Cisterna", "TYPEID": 14}}}], "domains": {}, "name": "Cisterna"}, {"id": 15, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Fangaia", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Fangaia", "TYPEID": 15}}}], "domains": {}, "name": "Fangaia"}, {"id": 16, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Fossa di scrematura", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Fossa di scrematura", "TYPEID": 16}}}], "domains": {}, "name": "Fossa di scrematura"}, {"id": 17, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Fossa di sedimentazione", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Fossa di sedimentazione", "TYPEID": 17}}}], "domains": {}, "name": "Fossa di sedimentazione"}, {"id": 18, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Fossa di percolazione", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Fossa di percolazione", "TYPEID": 18}}}], "domains": {}, "name": "Fossa di percolazione"}, {"id": 19, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Fossa di evaporazione", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Fossa di evaporazione", "TYPEID": 19}}}], "domains": {}, "name": "Fossa di evaporazione"}], "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": "Acqua"}, {"symbol": {"style": "esriSLSSolid", "color": [111, 198, 83, 255], "width": 1.5, "type": "esriSLS"}, "description": "", "value": "1", "label": "Fognatura"}, {"symbol": {"style": "esriSLSSolid", "color": [0, 0, 0, 255], "width": 1.5, "type": "esriSLS"}, "description": "", "value": "2", "label": "Greggio"}, {"symbol": {"style": "esriSLSSolid", "color": [255, 255, 0, 255], "width": 1.5, "type": "esriSLS"}, "description": "", "value": "3", "label": "Gas naturale"}, {"symbol": {"style": "esriSLSSolid", "color": [250, 52, 17, 255], "width": 1.5, "type": "esriSLS"}, "description": "", "value": "4", "label": "Prodotto"}, {"symbol": {"style": "esriSLSSolid", "color": [170, 170, 170, 255], "width": 2, "type": "esriSLS"}, "description": "", "value": "5", "label": "Gas liquido naturale"}]}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "Condutture", "hasAttachments": false, "typeIdField": "TYPEID", "capabilities": "Query,Editing", "types": [{"id": 0, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "Acqua", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Acqua", "TYPEID": 0}}}], "domains": {}, "name": "Acqua"}, {"id": 1, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "Fognatura", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Fognatura", "TYPEID": 1}}}], "domains": {}, "name": "Fognatura"}, {"id": 2, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "Greggio", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Greggio", "TYPEID": 2}}}], "domains": {}, "name": "Greggio"}, {"id": 3, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "Gas naturale", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Gas naturale", "TYPEID": 3}}}], "domains": {}, "name": "Gas naturale"}, {"id": 4, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "Prodotto", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Prodotto", "TYPEID": 4}}}], "domains": {}, "name": "Prodotto"}, {"id": 5, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "Gas liquido naturale", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Gas liquido naturale", "TYPEID": 5}}}], "domains": {}, "name": "Gas liquido naturale"}], "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": "Etichette infrastrutture", "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": "Collettore"}, {"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": "Pompa"}, {"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": "Valvola"}, {"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": "Pozzo"}]}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "Infrastruttura per petrolio e gas", "hasAttachments": false, "typeIdField": "TYPEID", "capabilities": "Query,Editing", "types": [{"id": 0, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Collettore", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Collettore", "TYPEID": 0}}}], "domains": {}, "name": "Collettore"}, {"id": 1, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Pompa", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Pompa", "TYPEID": 1}}}], "domains": {}, "name": "Pompa"}, {"id": 2, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Valvola", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Valvola", "TYPEID": 2}}}], "domains": {}, "name": "Valvola"}, {"id": 3, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Pozzo", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Pozzo", "TYPEID": 3}}}], "domains": {}, "name": "Pozzo"}], "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}"}}]}