{"showLegend": true, "layers": [{"layerDefinition": {"objectIdField": "OBJECTID", "templates": [], "type": "Feature Layer", "drawingInfo": {"renderer": {"field1": "TYPEID", "type": "uniqueValue", "uniqueValueInfos": [{"symbol": {"style": "esriSFSSolid", "color": [246, 238, 183, 255], "outline": {"style": "esriSLSSolid", "color": [246, 238, 183, 255], "width": 1, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "0", "label": "Parking Lot"}, {"symbol": {"style": "esriSFSSolid", "color": [255, 255, 255, 255], "outline": {"style": "esriSLSSolid", "color": [224, 224, 220, 255], "width": 1, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "1", "label": "Roadway"}, {"symbol": {"style": "esriSFSSolid", "color": [188, 169, 169, 255], "outline": {"style": "esriSLSSolid", "color": [188, 169, 169, 255], "width": 1, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "2", "label": "Rec Center"}, {"symbol": {"style": "esriSFSSolid", "color": [51, 204, 153, 255], "outline": {"style": "esriSLSSolid", "color": [38, 151, 113, 255], "width": 1, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "3", "label": "Stadium"}, {"symbol": {"style": "esriSFSSolid", "color": [137, 210, 174, 255], "outline": {"style": "esriSLSSolid", "color": [137, 210, 174, 255], "width": 1, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "4", "label": "Field"}, {"symbol": {"style": "esriSFSSolid", "color": [206, 236, 168, 255], "outline": {"style": "esriSLSSolid", "color": [206, 236, 168, 255], "width": 1, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "5", "label": "Garden"}, {"symbol": {"style": "esriSFSSolid", "color": [181, 227, 181, 255], "outline": {"style": "esriSLSSolid", "color": [181, 227, 181, 255], "width": 1, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "6", "label": "Golf"}, {"symbol": {"style": "esriSFSSolid", "color": [181, 208, 208, 255], "outline": {"style": "esriSLSSolid", "color": [181, 208, 208, 255], "width": 1, "type": "esriSLS"}, "type": "esriSFS"}, "description": "", "value": "7", "label": "Water"}]}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "Park & Rec Areas", "hasAttachments": false, "typeIdField": "TYPEID", "capabilities": "Query,Editing", "types": [{"id": 0, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Parking Lot", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Parking Lot", "TYPEID": 0}}}], "domains": {}, "name": "Parking Lot"}, {"id": 1, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Roadway", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Roadway", "TYPEID": 1}}}], "domains": {}, "name": "Roadway"}, {"id": 2, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Rec Center", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Rec Center", "TYPEID": 2}}}], "domains": {}, "name": "Rec Center"}, {"id": 3, "templates": [{"drawingTool": "esriFeatureEditToolPolygon", "description": "", "name": "Stadium", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Stadium", "TYPEID": 3}}}], "domains": {}, "name": "Stadium"}, {"id": 4, "templates": [{"drawingTool": "esriFeatureEditToolFreehand", "description": "", "name": "Field", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Field", "TYPEID": 4}}}], "domains": {}, "name": "Field"}, {"id": 5, "templates": [{"drawingTool": "esriFeatureEditToolFreehand", "description": "", "name": "Garden", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Garden", "TYPEID": 5}}}], "domains": {}, "name": "Garden"}, {"id": 6, "templates": [{"drawingTool": "esriFeatureEditToolFreehand", "description": "", "name": "Golf", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Golf", "TYPEID": 6}}}], "domains": {}, "name": "Golf"}, {"id": 7, "templates": [{"drawingTool": "esriFeatureEditToolFreehand", "description": "", "name": "Water", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Water", "TYPEID": 7}}}], "domains": {}, "name": "Water"}], "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": "esriSLSDot", "color": [239, 172, 153, 255], "width": 2, "type": "esriSLS"}, "description": "", "value": "0", "label": "Hiking"}, {"symbol": {"style": "esriSLSDot", "color": [179, 167, 167, 255], "width": 2, "type": "esriSLS"}, "description": "", "value": "1", "label": "Footpath"}, {"symbol": {"style": "esriSLSSolid", "color": [0, 59, 11, 255], "width": 2, "type": "esriSLS"}, "description": "", "value": "2", "label": "Cart Path"}]}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "Trails, Paths, & Roads", "hasAttachments": false, "typeIdField": "TYPEID", "capabilities": "Query,Editing", "types": [{"id": 0, "templates": [{"drawingTool": "esriFeatureEditToolFreehand", "description": "", "name": "Hiking", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Hiking", "TYPEID": 0}}}], "domains": {}, "name": "Hiking"}, {"id": 1, "templates": [{"drawingTool": "esriFeatureEditToolFreehand", "description": "", "name": "Footpath", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Footpath", "TYPEID": 1}}}], "domains": {}, "name": "Footpath"}, {"id": 2, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "Cart Path", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Cart Path", "TYPEID": 2}}}], "domains": {}, "name": "Cart Path"}], "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": [31, 73, 125, 0], "color": [30, 71, 122, 255], "font": {"weight": "bold", "style": "normal", "family": "Arial Unicode MS", "size": 20}, "type": "esriTS"}, "description": "", "value": "0", "label": "Park Label"}]}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "Park Labels", "hasAttachments": false, "typeIdField": "TYPEID", "capabilities": "Query,Editing", "types": [{"id": 0, "templates": [{"drawingTool": "esriFeatureEditToolText", "description": "", "name": "Park Label", "prototype": {"attributes": {"VISIBLE": 1, "TYPEID": 0}}}], "domains": {}, "name": "Park Label"}], "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/NPS/npsPictograph_0042b.png"}, "description": "", "value": "0", "label": "Bicycle Trail"}, {"symbol": {"height": 24, "width": 24, "contentType": "image/png", "type": "esriPMS", "url": "https://maps.hamilton.govt.nz/portal/portalimages/Symbols/NPS/npsPictograph_0098b.png"}, "value": "1", "label": "Picnic Area"}, {"symbol": {"height": 24, "width": 24, "contentType": "image/png", "type": "esriPMS", "url": "https://maps.hamilton.govt.nz/portal/portalimages/Symbols/NPS/npsPictograph_0231b.png"}, "value": "2", "label": "Trailhead"}, {"symbol": {"height": 24, "width": 24, "contentType": "image/png", "type": "esriPMS", "url": "https://maps.hamilton.govt.nz/portal/portalimages/Symbols/NPS/npsPictograph_0109b.png"}, "value": "3", "label": "Public Washroom"}, {"symbol": {"height": 24, "width": 24, "contentType": "image/png", "type": "esriPMS", "url": "https://maps.hamilton.govt.nz/portal/portalimages/Symbols/NPS/npsPictograph_0094b.png"}, "value": "4", "label": "Parking"}]}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "Points of Interest", "hasAttachments": false, "typeIdField": "TYPEID", "capabilities": "Query,Editing", "types": [{"id": 0, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Bicycle Trail", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Bicycle Trail", "TYPEID": 0}}}], "domains": {}, "name": "Bicycle Trail"}, {"id": 1, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Picnic Area", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Picnic Area", "TYPEID": 1}}}], "domains": {}, "name": "Picnic Area"}, {"id": 2, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Trailhead", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Trailhead", "TYPEID": 2}}}], "domains": {}, "name": "Trailhead"}, {"id": 3, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Public Washroom", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Public Washroom", "TYPEID": 3}}}], "domains": {}, "name": "Public Washroom"}, {"id": 4, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Parking", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Parking", "TYPEID": 4}}}], "domains": {}, "name": "Parking"}], "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}"}}]}