{"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": "Àrea recreativa"}]}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "Àrees recreatives", "hasAttachments": false, "typeIdField": "TYPEID", "capabilities": "Query,Editing", "types": [{"id": 0, "templates": [{"drawingTool": "esriFeatureEditToolFreehand", "description": "", "name": "Àrea recreativa", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Àrea recreativa", "TYPEID": 0}}}], "domains": {}, "name": "Àrea recreativa"}], "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": "A peu"}, {"symbol": {"style": "esriSLSDash", "color": [0, 169, 230, 255], "width": 2, "type": "esriSLS"}, "description": "", "value": "1", "label": "Amb bicicleta"}, {"symbol": {"style": "esriSLSSolid", "color": [115, 76, 0, 255], "width": 2, "type": "esriSLS"}, "description": "", "value": "2", "label": "Eqüestre"}, {"symbol": {"style": "esriSLSDash", "color": [156, 156, 156, 255], "width": 1.5, "type": "esriSLS"}, "description": "", "value": "3", "label": "Escales"}, {"symbol": {"style": "esriSLSSolid", "color": [250, 52, 17, 255], "width": 2, "type": "esriSLS"}, "description": "", "value": "4", "label": "Amb motor"}, {"symbol": {"style": "esriSLSSolid", "color": [255, 170, 0, 255], "width": 2, "type": "esriSLS"}, "description": "", "value": "5", "label": "Esquí de fons"}]}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "Pistes", "hasAttachments": false, "typeIdField": "TYPEID", "capabilities": "Query,Editing", "types": [{"id": 0, "templates": [{"drawingTool": "esriFeatureEditToolFreehand", "description": "", "name": "A peu", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "A peu", "TYPEID": 0}}}], "domains": {}, "name": "A peu"}, {"id": 1, "templates": [{"drawingTool": "esriFeatureEditToolFreehand", "description": "", "name": "Amb bicicleta", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Amb bicicleta", "TYPEID": 1}}}], "domains": {}, "name": "Amb bicicleta"}, {"id": 2, "templates": [{"drawingTool": "esriFeatureEditToolFreehand", "description": "", "name": "Eqüestre", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Eqüestre", "TYPEID": 2}}}], "domains": {}, "name": "Eqüestre"}, {"id": 3, "templates": [{"drawingTool": "esriFeatureEditToolLine", "description": "", "name": "Escales", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Escales", "TYPEID": 3}}}], "domains": {}, "name": "Escales"}, {"id": 4, "templates": [{"drawingTool": "esriFeatureEditToolFreehand", "description": "", "name": "Amb motor", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Amb motor", "TYPEID": 4}}}], "domains": {}, "name": "Amb motor"}, {"id": 5, "templates": [{"drawingTool": "esriFeatureEditToolFreehand", "description": "", "name": "Esquí de fons", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Esquí de fons", "TYPEID": 5}}}], "domains": {}, "name": "Esquí de fons"}], "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": "Etiqueta recreativa"}]}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "Etiquetes recreatives", "hasAttachments": false, "typeIdField": "TYPEID", "capabilities": "Query,Editing", "types": [{"id": 0, "templates": [{"drawingTool": "esriFeatureEditToolText", "description": "", "name": "Etiqueta recreativa", "prototype": {"attributes": {"VISIBLE": 1, "TYPEID": 0}}}], "domains": {}, "name": "Etiqueta recreativa"}], "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": "Punt de partida"}, {"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": "Lavabos"}, {"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": "Acampada"}, {"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": "Zona de descans"}, {"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": "Aigua potable"}, {"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": "Dutxes"}, {"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": "Menjador"}, {"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": "Centre mèdic"}, {"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": "Caseta del guardabosc"}, {"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": "Aparcament per a vehicles d'oci"}, {"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": "Paperera"}]}}, "displayField": "TITLE", "visibilityField": "VISIBLE", "name": "Instal·lacions", "hasAttachments": false, "typeIdField": "TYPEID", "capabilities": "Query,Editing", "types": [{"id": 0, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Punt de partida", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Punt de partida", "TYPEID": 0}}}], "domains": {}, "name": "Punt de partida"}, {"id": 1, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Lavabos", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Lavabos", "TYPEID": 1}}}], "domains": {}, "name": "Lavabos"}, {"id": 2, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Acampada", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Acampada", "TYPEID": 2}}}], "domains": {}, "name": "Acampada"}, {"id": 3, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Zona de descans", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Zona de descans", "TYPEID": 3}}}], "domains": {}, "name": "Zona de descans"}, {"id": 4, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Aigua potable", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Aigua potable", "TYPEID": 4}}}], "domains": {}, "name": "Aigua potable"}, {"id": 5, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Dutxes", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Dutxes", "TYPEID": 5}}}], "domains": {}, "name": "Dutxes"}, {"id": 6, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Menjador", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Menjador", "TYPEID": 6}}}], "domains": {}, "name": "Menjador"}, {"id": 7, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Centre mèdic", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Centre mèdic", "TYPEID": 7}}}], "domains": {}, "name": "Centre mèdic"}, {"id": 8, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Caseta del guardabosc", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Caseta del guardabosc", "TYPEID": 8}}}], "domains": {}, "name": "Caseta del guardabosc"}, {"id": 9, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Aparcament per a vehicles d'oci", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Aparcament per a vehicles d'oci", "TYPEID": 9}}}], "domains": {}, "name": "Aparcament per a vehicles d'oci"}, {"id": 10, "templates": [{"drawingTool": "esriFeatureEditToolPoint", "description": "", "name": "Paperera", "prototype": {"attributes": {"VISIBLE": 1, "TITLE": "Paperera", "TYPEID": 10}}}], "domains": {}, "name": "Paperera"}], "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}"}}]}