{"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": "Peakontorid"}, {"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": "Tootmisüksus"}, {"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": "Õlirafineerimistehas"}, {"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": "Jäätmekäitluse üksus"}, {"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": "Hoiustamise üksus"}, {"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": "Ladu"}, {"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": "Gaasitootmise üksus"}, {"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": "Kontorid"}, {"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": "Liidetud kaitseümbris"}, {"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": "Määramata üksus"}, {"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": "Veepaak"}, {"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": "Neutraliseerimise mahuti"}, {"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": "Toornafta tsistern"}, {"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": "Lõpp- ja vahetoote mahuti"}, {"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": "Saatmise mahuti"}, {"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": "Mudaauk"}, {"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": "Räbumahuti"}, {"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": "Settemahuti"}, {"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": "Perkolatsioonimahuti"}, {"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": "Aurustumise mahuti"}]}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "Alad", "hasAttachments": false, "typeIdField": "TYPEID", "capabilities": "Query,Editing", "types": [{"id": 0, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Peakontorid", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Peakontorid", "TYPEID": 0}}}], "domains": {}, "name": "Peakontorid"}, {"id": 1, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Tootmisüksus", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Tootmisüksus", "TYPEID": 1}}}], "domains": {}, "name": "Tootmisüksus"}, {"id": 2, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Õlirafineerimistehas", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Õlirafineerimistehas", "TYPEID": 2}}}], "domains": {}, "name": "Õlirafineerimistehas"}, {"id": 3, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Jäätmekäitluse üksus", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Jäätmekäitluse üksus", "TYPEID": 3}}}], "domains": {}, "name": "Jäätmekäitluse üksus"}, {"id": 4, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Hoiustamise üksus", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Hoiustamise üksus", "TYPEID": 4}}}], "domains": {}, "name": "Hoiustamise üksus"}, {"id": 5, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Ladu", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Ladu", "TYPEID": 5}}}], "domains": {}, "name": "Ladu"}, {"id": 6, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Gaasitootmise üksus", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Gaasitootmise üksus", "TYPEID": 6}}}], "domains": {}, "name": "Gaasitootmise üksus"}, {"id": 7, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Kontorid", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Kontorid", "TYPEID": 7}}}], "domains": {}, "name": "Kontorid"}, {"id": 8, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Liidetud kaitseümbris", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Liidetud kaitseümbris", "TYPEID": 8}}}], "domains": {}, "name": "Liidetud kaitseümbris"}, {"id": 9, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Määramata üksus", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Määramata üksus", "TYPEID": 9}}}], "domains": {}, "name": "Määramata üksus"}, {"id": 10, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Veepaak", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Veepaak", "TYPEID": 10}}}], "domains": {}, "name": "Veepaak"}, {"id": 11, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Neutraliseerimise mahuti", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Neutraliseerimise mahuti", "TYPEID": 11}}}], "domains": {}, "name": "Neutraliseerimise mahuti"}, {"id": 12, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Toornafta tsistern", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Toornafta tsistern", "TYPEID": 12}}}], "domains": {}, "name": "Toornafta tsistern"}, {"id": 13, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Lõpp- ja vahetoote mahuti", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Lõpp- ja vahetoote mahuti", "TYPEID": 13}}}], "domains": {}, "name": "Lõpp- ja vahetoote mahuti"}, {"id": 14, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Saatmise mahuti", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Saatmise mahuti", "TYPEID": 14}}}], "domains": {}, "name": "Saatmise mahuti"}, {"id": 15, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Mudaauk", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Mudaauk", "TYPEID": 15}}}], "domains": {}, "name": "Mudaauk"}, {"id": 16, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Räbumahuti", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Räbumahuti", "TYPEID": 16}}}], "domains": {}, "name": "Räbumahuti"}, {"id": 17, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Settemahuti", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Settemahuti", "TYPEID": 17}}}], "domains": {}, "name": "Settemahuti"}, {"id": 18, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Perkolatsioonimahuti", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Perkolatsioonimahuti", "TYPEID": 18}}}], "domains": {}, "name": "Perkolatsioonimahuti"}, {"id": 19, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Aurustumise mahuti", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Aurustumise mahuti", "TYPEID": 19}}}], "domains": {}, "name": "Aurustumise mahuti"}], "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": "Vesi"}, {"symbol": {"style": "esriSLSSolid", "color": [111, 198, 83, 255], "width": 1.5, "type": "esriSLS"}, "description": "", "value": "1", "label": "Heitvesi"}, {"symbol": {"style": "esriSLSSolid", "color": [0, 0, 0, 255], "width": 1.5, "type": "esriSLS"}, "description": "", "value": "2", "label": "Toornafta"}, {"symbol": {"style": "esriSLSSolid", "color": [255, 255, 0, 255], "width": 1.5, "type": "esriSLS"}, "description": "", "value": "3", "label": "Maagaas"}, {"symbol": {"style": "esriSLSSolid", "color": [250, 52, 17, 255], "width": 1.5, "type": "esriSLS"}, "description": "", "value": "4", "label": "Toode"}, {"symbol": {"style": "esriSLSSolid", "color": [170, 170, 170, 255], "width": 2, "type": "esriSLS"}, "description": "", "value": "5", "label": "Maagaasi vedelik"}]}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "Torujuhe", "hasAttachments": false, "typeIdField": "TYPEID", "capabilities": "Query,Editing", "types": [{"id": 0, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "Vesi", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Vesi", "TYPEID": 0}}}], "domains": {}, "name": "Vesi"}, {"id": 1, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "Heitvesi", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Heitvesi", "TYPEID": 1}}}], "domains": {}, "name": "Heitvesi"}, {"id": 2, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "Toornafta", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Toornafta", "TYPEID": 2}}}], "domains": {}, "name": "Toornafta"}, {"id": 3, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "Maagaas", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Maagaas", "TYPEID": 3}}}], "domains": {}, "name": "Maagaas"}, {"id": 4, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "Toode", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Toode", "TYPEID": 4}}}], "domains": {}, "name": "Toode"}, {"id": 5, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "Maagaasi vedelik", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Maagaasi vedelik", "TYPEID": 5}}}], "domains": {}, "name": "Maagaasi vedelik"}], "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": "Infrastruktuuri märgised", "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": "Kollektor"}, {"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": "Pump"}, {"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": "Klapp"}, {"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": "Kaev"}]}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "Gaasi- ja naftataristu", "hasAttachments": false, "typeIdField": "TYPEID", "capabilities": "Query,Editing", "types": [{"id": 0, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Kollektor", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Kollektor", "TYPEID": 0}}}], "domains": {}, "name": "Kollektor"}, {"id": 1, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Pump", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Pump", "TYPEID": 1}}}], "domains": {}, "name": "Pump"}, {"id": 2, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Klapp", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Klapp", "TYPEID": 2}}}], "domains": {}, "name": "Klapp"}, {"id": 3, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Kaev", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Kaev", "TYPEID": 3}}}], "domains": {}, "name": "Kaev"}], "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}"}}]}