{"showLegend": true, "layers": [{"layerDefinition": {"objectIdField": "OBJECTID", "templates": [], "type": "Feature Layer", "drawingInfo": {"renderer": {"field1": "TYPEID", "type": "uniqueValue", "uniqueValueInfos": [{"symbol": {"style": "esriSFSSolid", "color": [115, 178, 115, 255], "outline": {"style": "esriSLSSolid", "color": [115, 178, 115, 255], "width": 0.25, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "0", "label": "Puhkeala"}]}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "Puhkealad", "hasAttachments": false, "typeIdField": "TYPEID", "capabilities": "Query,Editing", "types": [{"id": 0, "templates": [{"drawingTool": "esriFeatureEditToolFreehand", "description": "", "name": "Puhkeala", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Puhkeala", "TYPEID": 0}}}], "domains": {}, "name": "Puhkeala"}], "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": "esriSLSDashDot", "color": [56, 168, 0, 255], "width": 1.5, "type": "esriSLS"}, "description": "", "value": "0", "label": "Jalutamine"}, {"symbol": {"style": "esriSLSDash", "color": [0, 169, 230, 255], "width": 2, "type": "esriSLS"}, "description": "", "value": "1", "label": "Mägirattasõit"}, {"symbol": {"style": "esriSLSSolid", "color": [115, 76, 0, 255], "width": 2, "type": "esriSLS"}, "description": "", "value": "2", "label": "Ratsur"}, {"symbol": {"style": "esriSLSDash", "color": [156, 156, 156, 255], "width": 1.5, "type": "esriSLS"}, "description": "", "value": "3", "label": "Trepp"}, {"symbol": {"style": "esriSLSSolid", "color": [250, 52, 17, 255], "width": 2, "type": "esriSLS"}, "description": "", "value": "4", "label": "Motoriseeritud"}, {"symbol": {"style": "esriSLSSolid", "color": [255, 170, 0, 255], "width": 2, "type": "esriSLS"}, "description": "", "value": "5", "label": "Murdmaasuusatamine"}]}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "Suusarajad", "hasAttachments": false, "typeIdField": "TYPEID", "capabilities": "Query,Editing", "types": [{"id": 0, "templates": [{"drawingTool": "esriFeatureEditToolFreehand", "description": "", "name": "Jalutamine", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Jalutamine", "TYPEID": 0}}}], "domains": {}, "name": "Jalutamine"}, {"id": 1, "templates": [{"drawingTool": "esriFeatureEditToolFreehand", "description": "", "name": "Mägirattasõit", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Mägirattasõit", "TYPEID": 1}}}], "domains": {}, "name": "Mägirattasõit"}, {"id": 2, "templates": [{"drawingTool": "esriFeatureEditToolFreehand", "description": "", "name": "Ratsur", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Ratsur", "TYPEID": 2}}}], "domains": {}, "name": "Ratsur"}, {"id": 3, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "Trepp", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Trepp", "TYPEID": 3}}}], "domains": {}, "name": "Trepp"}, {"id": 4, "templates": [{"drawingTool": "esriFeatureEditToolFreehand", "description": "", "name": "Motoriseeritud", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Motoriseeritud", "TYPEID": 4}}}], "domains": {}, "name": "Motoriseeritud"}, {"id": 5, "templates": [{"drawingTool": "esriFeatureEditToolFreehand", "description": "", "name": "Murdmaasuusatamine", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Murdmaasuusatamine", "TYPEID": 5}}}], "domains": {}, "name": "Murdmaasuusatamine"}], "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": [{"symbol": {"horizontalAlignment": "left", "style": "esriSMSCircle", "backgroundColor": [255, 255, 255, 127], "color": [0, 0, 0, 255], "font": {"weight": "bold", "style": "normal", "decoration": "none", "family": "Arial Unicode MS", "size": 14}, "borderLineColor": [0, 0, 0, 127], "type": "esriTS"}, "description": "", "value": "0", "label": "Puhkeala tähis"}]}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "Puhkeala tähised", "hasAttachments": false, "typeIdField": "TYPEID", "capabilities": "Query,Editing", "types": [{"id": 0, "templates": [{"drawingTool": "esriFeatureEditToolText", "description": "", "name": "Puhkeala tähis", "prototype": {"attributes": {"VISIBLE": 1, "TYPEID": 0}}}], "domains": {}, "name": "Puhkeala tähis"}], "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}]}}, {"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/OutdoorRecreation/Park.png"}, "description": "", "value": "0", "label": "Teeraja algus"}, {"symbol": {"height": 24, "width": 24, "contentType": "image/png", "type": "esriPMS", "url": "https://maps.hamilton.govt.nz/portal/portalimages/Symbols/PeoplePlaces/Restroom.png"}, "value": "1", "label": "Puhketoad"}, {"symbol": {"height": 24, "width": 24, "contentType": "image/png", "type": "esriPMS", "url": "https://maps.hamilton.govt.nz/portal/portalimages/Symbols/OutdoorRecreation/Camping.png"}, "value": "2", "label": "Telkimine"}, {"symbol": {"height": 24, "width": 24, "contentType": "image/png", "type": "esriPMS", "url": "https://maps.hamilton.govt.nz/portal/portalimages/Symbols/OutdoorRecreation/RestArea.png"}, "value": "3", "label": "Puhkeala"}, {"symbol": {"height": 24, "width": 24, "contentType": "image/png", "type": "esriPMS", "url": "https://maps.hamilton.govt.nz/portal/portalimages/Symbols/PeoplePlaces/DrinkingWater.png"}, "value": "4", "label": "Joogivesi"}, {"symbol": {"height": 24, "width": 24, "contentType": "image/png", "type": "esriPMS", "url": "https://maps.hamilton.govt.nz/portal/portalimages/Symbols/PeoplePlaces/Shower.png"}, "value": "5", "label": "Dušid"}, {"symbol": {"height": 24, "width": 24, "contentType": "image/png", "type": "esriPMS", "url": "https://maps.hamilton.govt.nz/portal/portalimages/Symbols/PeoplePlaces/Dining.png"}, "value": "6", "label": "Einestamine"}, {"symbol": {"height": 24, "width": 24, "contentType": "image/png", "type": "esriPMS", "url": "https://maps.hamilton.govt.nz/portal/portalimages/Symbols/SafetyHealth/Doctor.png"}, "value": "7", "label": "Arstiabi"}, {"symbol": {"height": 24, "width": 24, "contentType": "image/png", "type": "esriPMS", "url": "https://maps.hamilton.govt.nz/portal/portalimages/Symbols/Transportation/Tunnel.png"}, "value": "8", "label": "Pargivahi majake"}, {"symbol": {"height": 24, "width": 24, "contentType": "image/png", "type": "esriPMS", "url": "https://maps.hamilton.govt.nz/portal/portalimages/Symbols/OutdoorRecreation/RVPark.png"}, "value": "9", "label": "Karavaniparkla"}, {"symbol": {"height": 24, "width": 24, "contentType": "image/png", "type": "esriPMS", "url": "https://maps.hamilton.govt.nz/portal/portalimages/Symbols/NPS/npsPictograph_0085.png"}, "value": "10", "label": "Prügikast"}]}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "Üksused", "hasAttachments": false, "typeIdField": "TYPEID", "capabilities": "Query,Editing", "types": [{"id": 0, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Teeraja algus", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Teeraja algus", "TYPEID": 0}}}], "domains": {}, "name": "Teeraja algus"}, {"id": 1, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Puhketoad", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Puhketoad", "TYPEID": 1}}}], "domains": {}, "name": "Puhketoad"}, {"id": 2, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Telkimine", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Telkimine", "TYPEID": 2}}}], "domains": {}, "name": "Telkimine"}, {"id": 3, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Puhkeala", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Puhkeala", "TYPEID": 3}}}], "domains": {}, "name": "Puhkeala"}, {"id": 4, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Joogivesi", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Joogivesi", "TYPEID": 4}}}], "domains": {}, "name": "Joogivesi"}, {"id": 5, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Dušid", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Dušid", "TYPEID": 5}}}], "domains": {}, "name": "Dušid"}, {"id": 6, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Einestamine", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Einestamine", "TYPEID": 6}}}], "domains": {}, "name": "Einestamine"}, {"id": 7, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Arstiabi", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Arstiabi", "TYPEID": 7}}}], "domains": {}, "name": "Arstiabi"}, {"id": 8, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Pargivahi majake", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Pargivahi majake", "TYPEID": 8}}}], "domains": {}, "name": "Pargivahi majake"}, {"id": 9, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Karavaniparkla", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Karavaniparkla", "TYPEID": 9}}}], "domains": {}, "name": "Karavaniparkla"}, {"id": 10, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Prügikast", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Prügikast", "TYPEID": 10}}}], "domains": {}, "name": "Prügikast"}], "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}"}}]}