var layers = [
  {
    "id": 1,
    "name": "ECO2",
    "activeIcon": "",
    "inactiveIcon": "",
    "display": "block",
    "hide_in_legendBar": true,
    "features": [
      {
        "name": "Underground",
        "legend": "icons\/9_.png",
        "icon": "icons\/9_.png",
        "iconwidth": 16,
        "iconheight": 13,
        "tag": "undergroundstationlegendonly",
        "display": true,
        "displayAtZoom": [
          2,
          1,
          0
        ],
        "geometry": "p",
        "select": "",
        "header": [
          
        ],
        "markupCols": [
          
        ],
        "table": "undergroundstationlegendonly",
        "template": "<h4>${name}<\/h4>",
        "where": "",
        "style": {
          "externalGraphicIsIcon": true,
          "graphicWidth": 16,
          "graphicHeight": 13
        },
        "headerfields": [
          
        ],
        "headerfieldstext": [
          
        ]
      },
      {
        "name": "Rail \/ Underground",
        "legend": "icons\/invis-large.png",
        "icon": "icons\/invis-large.png",
        "iconwidth": 35,
        "iconheight": 35,
        "tag": "railundergroundstationtranslucent",
        "display": true,
        "hide_in_legend": true,
        "displayAtZoom": [
          2,
          1,
          0
        ],
        "geometry": "p",
        "select": "",
        "header": [
          
        ],
        "markupCols": [
          
        ],
        "table": "railundergroundstationtranslucent",
        "template": "<h4>Underground</h4>{if defined('name')}<table>{if defined('name')}<tr><th>Name<\/th><td>${name}<\/td><\/tr>{/if}<\/table>{else}<p>No information available.<\/p>{\/if}",
        "where": "",
        "style": {
          "externalGraphicIsIcon": true,
          "graphicWidth": 35,
          "graphicHeight": 35
        },
        "headerfields": [
          
        ],
        "headerfieldstext": [
          
        ]
      },
      {
        "name": "Public toilet",
        "legend": "icons\/36.png",
        "icon": "icons\/36.png",
        "iconwidth": 16,
        "iconheight": 16,
        "tag": "publictoilet",
        "display": true,
        "displayAtZoom": [
          2,
          1,
          0
        ],
        "geometry": "p",
        "select": "",
        "header": [
          
        ],
        "markupCols": [
          
        ],
        "table": "publictoilet",
        "template": "<h4>Public toilet<\/h4>{if defined('street_name') || defined('gender') || defined('disabled_facilities')|| defined('baby_change_facilities')}<table>{if defined('street_name')}<tr><th>Street name<\/th><td>${street_name}<\/td><\/tr>{\/if}{if defined('gender')}<tr><th>Gender<\/th><td>{if gender == 'M'}Male{elseif gender == 'F'}Female{elseif gender == 'U'}Unisex{\/if}<\/td><\/tr>{\/if}{if defined('disabled_facilities')}<tr><th>Disabled facilities<\/th><td>{if disabled_facilities=='t'}Yes{else}No{\/if}<\/td><\/tr>{\/if}{if defined('baby_change_facilities')}<tr><th>Baby changing facilities<\/th><td>{if baby_change_facilities=='t'}Yes{else}No{\/if}<\/td><\/tr>{\/if}<\/table>{else}<p>No information available.<\/p>{\/if}",
        "where": "",
        "style": {
          "externalGraphicIsIcon": true,
          "graphicWidth": 16,
          "graphicHeight": 16
        },
        "headerfields": [
          
        ],
        "headerfieldstext": [
          
        ]
      }
    ]
  },
  {
    "id": 2,
    "name": "Bus",
    "activeIcon": "images\/icon_bus.gif",
    "inactiveIcon": "images\/icon_bus_mo.gif",
    "display": "block",
    "zoomonselect": true,
    "features": [
      {
        "name": "Rail Station",
        "legend": "icons\/railtube_.png",
        "icon": "icons\/railtube_.png",
        "iconwidth": 16,
        "iconheight": 16,
        "tag": "railundergroundstation",
        "display": false,
        "displayAtZoom": [
          2,
          1,
          0
        ],
        "geometry": "p",
        "select": "",
        "header": [
          
        ],
        "markupCols": [
          
        ],
        "table": "railundergroundstation",
        "template": "<h4>Rail Station</h4>{if defined('name')}<table>{if defined('name')}<tr><th>Name<\/th><td>${name}<\/td><\/tr>{/if}<\/table>{else}<p>No information available.<\/p>{\/if}",
        "where": "",
        "style": {
          "externalGraphicIsIcon": true,
          "graphicWidth": 16,
          "graphicHeight": 16
        },
        "headerfields": [
          
        ],
        "headerfieldstext": [
          
        ]
      },
      {
        "name": "Bus stop",
        "legend": "icons\/busstop_lords.png",
        "icon": "icons\/busstop_lords.png",
        "iconwidth": 14,
        "iconheight": 14,
        "tag": "busstop",
        "display": false,
        "displayAtZoom": [
          2,
          1,
          0
        ],
        "geometry": "p",
        "preprocess": "if (row.routes) row.routes = row.routes.replace(/,/g,', ');",
        "header": [
          
        ],
        "markupCols": [
          
        ],
        "table": "busstop",
        "template": "<h4>Bus stop{if defined('letter')} ${letter} {\/if}<\/h4>{if defined('site_name') || defined('routes')}<table>{if defined('site_name')}<tr><th>Site name<\/th><td>${site_name}<\/td><\/tr>{\/if}{if defined('routes')}<tr><th>Routes stopping<\/th><td>${routes}<\/td><\/tr>{\/if}<\/table>{else}<p>No information available.<\/p>{\/if}",
        "where": "",
        "style": {
          "externalGraphicIsIcon": true,
          "graphicWidth": 14,
          "graphicHeight": 14
        },
        "headerfields": [
          
        ],
        "headerfieldstext": [
          
        ]
      }
    ]
  },
  {
    "id": 3,
    "name": "Car",
    "activeIcon": "images\/icon_car.gif",
    "inactiveIcon": "images\/icon_car_mo.gif",
    "display": "block",
    "zoomonselect": true,
    "features": [
      {
        "name": "Venue Car Park",
        "legend": "icons\/carpark.gif",
        "icon": "icons\/carpark.gif",
        "iconwidth": 16,
        "iconheight": 16,
        "tag": "carparkvenue",
        "display": false,
        "displayAtZoom": [
          2,
          1,
          0
        ],
        "geometry": "p",
        "select": "",
        "header": [
          
        ],
        "markupCols": [
          
        ],
        "table": "carparkvenue",
        "template": "{var types = []}{eval}types['PD'] = 'Pay & Display';types['S'] = 'Surface';types['L'] = 'Lift';types['LS'] = 'Long Stay';types['SS'] = 'Short Stay';types['R'] = 'Rooftop';types['UG'] = 'Underground';types['BC'] = 'Barrier Control';types['MS'] = 'Multi-Storey';{\/eval}<h4>{if defined('name')}${name}{else}Car Park{\/if}<\/h4>{if defined('address_1')}<p>${address_1}{if defined('address_2')}<br\/> ${address_2}{\/if}{if defined('address_3')}<br \/> ${address_3}{\/if}{if defined('address_4')}<br \/> ${address_4}{\/if}{if defined('address_city')}<br \/> ${address_city}{\/if}{if defined('address_county')}<br \/> ${address_county}{\/if}{if defined('address_postcode')}<br \/> ${address_postcode}{\/if}<\/p>{\/if}{if defined('description')}<p>${description}<\/p>{\/if}<table><tr><th>Payment Mode<\/th><td> All major credit cards accepted<\/td><\/tr><table><tr><th>Opening Times<\/th><td>Open\/Close times dependent on events<\/td><\/tr><tr><th>Disabled Access<\/th><td>Please note that there are now no specific disabled bays in Seagrave Road car park<\/td><\/tr>{if  defined('congestion_charge_point') || defined('public_toilet')|| defined('baby_change_facilities') || defined('type') || defined('height_restriction') }{if defined('weekend_restrictions')}<tr><th>Weekend restrictions<\/th><td>${weekend_restrictions}<\/td><\/tr>{\/if}{if defined('congestion_charge_point')}{if congestion_charge_point}<tr><th>Congestion Charge Point<\/th><td>yes<\/td><\/tr>{\/if}{\/if}{if defined('public_toilet')}{if public_toilet}<tr><th>Public Toilet<\/th><td>yes<\/td><\/tr>{\/if}{\/if}{if defined('baby_change_facilities')}{if baby_change_facilities}<tr><th>Baby Change Facilities<\/th><td>yes<\/td><\/tr>{\/if}{\/if}{if defined('type')}<tr><th>Type<\/th><td>${types[type]}<\/td><\/tr>{\/if}{if defined('height_restriction')}<tr><th>Height Restriction<\/th><td>${height_restriction} m<\/td><\/tr>{\/if}{\/if}{if defined('restrictions')}<tr><th>notes<\/tr><\/th>{\/if}<\/table>${restrictions}",
        "where": "",
        "style": {
          "externalGraphicIsIcon": true,
          "graphicWidth": 16,
          "graphicHeight": 16
        },
        "headerfields": [
          
        ],
        "headerfieldstext": [
          
        ]
      },
      {
        "name": "Other Car Park",
        "legend": "icons\/carpark___.png",
        "icon": "icons\/carpark___.png",
        "iconwidth": 16,
        "iconheight": 16,
        "tag": "carparkother",
        "display": false,
        "displayAtZoom": [
          2,
          1,
          0
        ],
        "geometry": "p",
        "select": "",
        "header": [
          
        ],
        "markupCols": [
          
        ],
        "table": "carparkother",
        "template": "{var types = []}{eval}types['PD'] = 'Pay & Display';types['S'] = 'Surface';types['L'] = 'Lift';types['LS'] = 'Long Stay';types['SS'] = 'Short Stay';types['R'] = 'Rooftop';types['UG'] = 'Underground';types['BC'] = 'Barrier Control';types['MS'] = 'Multi-Storey';{\/eval}<h4>{if defined('name')}${name}{else}Car Park{\/if}<\/h4>{if defined('address_1')}<p>${address_1}{if defined('address_2')}<br\/> ${address_2}{\/if}{if defined('address_3')}<br \/> ${address_3}{\/if}{if defined('address_4')}<br \/> ${address_4}{\/if}{if defined('address_city')}<br \/> ${address_city}{\/if}{if defined('address_county')}<br \/> ${address_county}{\/if}{if defined('address_postcode')}<br \/> ${address_postcode}{\/if}<\/p>{\/if}{if defined('phone')}<p>Phone Number: ${phone}<\/p>{\/if}{if defined('description')}<p>${description}<\/p>{\/if}{if defined('monday_opening') || defined('monday_closing')|| defined('saturday_restrictions_from') || defined('saturday_restrictions_to')|| defined('sunday_restrictions_from') || defined('sunday_restrictions_to')|| defined('restrictions') || defined('weekend_restrictions')|| defined('congestion_charge_point') || defined('public_toilet')|| defined('baby_change_facilities') || defined('type') || defined('height_restriction') }<table>{if defined('monday_opening') && defined('monday_closing')}<tr><th>Weekday Opening<\/th><td>${monday_opening} - ${monday_closing}<\/td><\/tr>{\/if}{if defined('saturday_restrictions_from') && defined('saturday_restrictions_to')}<tr><th>Saturday Restrictions<\/th><td>${saturday_restrictions_from} - ${saturday_restrictions_to}<\/td><\/tr>{\/if}{if defined('sunday_restrictions_from') && defined('sunday_restrictions_to')}<tr><th>Sunday Opening<\/th><td>${sunday_restrictions_from} - ${sunday_restrictions_to}<\/td><\/tr>{\/if}{if defined('restrictions')}<tr><th>Restrictions<\/th><td>${restrictions}<\/td><\/tr>{\/if}{if defined('weekend_restrictions')}<tr><th>Weekend restrictions<\/th><td>${weekend_restrictions}<\/td><\/tr>{\/if}{if defined('congestion_charge_point')}<tr><th>Congestion Charge Point<\/th><td>{if congestion_charge_point=='t'}Yes{else}No{\/if}<\/td><\/tr>{\/if}{if defined('public_toilet')}<tr><th>Public Toilet<\/th><td>{if public_toilet=='t'}Yes{else}No{\/if}<\/td><\/tr>{\/if}{if defined('baby_change_facilities')}<tr><th>Baby Change Facilities<\/th><td>{if baby_change_facilities=='t'}Yes{else}No{\/if}<\/td><\/tr>{\/if}{if defined('type')}<tr><th>Type<\/th><td>${types[type]}<\/td><\/tr>{\/if}{if defined('height_restriction')}<tr><th>Height Restriction<\/th><td>${height_restriction} m<\/td><\/tr>{\/if}<\/table>{\/if}",
        "where": "",
        "style": {
          "externalGraphicIsIcon": true,
          "graphicWidth": 16,
          "graphicHeight": 16
        },
        "headerfields": [
          
        ],
        "headerfieldstext": [
          
        ]
      },
      {
        "name": "Rail Station",
        "legend": "icons\/railtube_.png",
        "icon": "icons\/railtube_.png",
        "iconwidth": 16,
        "iconheight": 16,
        "tag": "railundergroundstation",
        "display": false,
        "displayAtZoom": [
          2,
          1,
          0
        ],
        "geometry": "p",
        "select": "",
        "header": [
          
        ],
        "markupCols": [
          
        ],
        "table": "railundergroundstation",
        "template": "<h4>Rail Station</h4>{if defined('name')}<table>{if defined('name')}<tr><th>Name<\/th><td>${name}<\/td><\/tr>{/if}<\/table>{else}<p>No information available.<\/p>{\/if}",
        "where": "",
        "style": {
          "externalGraphicIsIcon": true,
          "graphicWidth": 16,
          "graphicHeight": 16
        },
        "headerfields": [
          
        ],
        "headerfieldstext": [
          
        ]
      }
    ]
  },
  {
    "id": 4,
    "name": "Motorbike",
    "activeIcon": "images\/icon_motorbike.gif",
    "inactiveIcon": "images\/icon_motorbike_mo.gif",
    "display": "block",
    "features": [
      {
        "name": "Motorbike bay",
        "legend": "icons\/motorbikebay.png",
        "icon": "icons\/motorbikebay.png",
        "iconwidth": 16,
        "iconheight": 12,
        "tag": "motorbikebay",
        "display": false,
        "displayAtZoom": [
          2,
          1,
          0
        ],
        "geometry": "p",
        "select": "",
        "header": [
          
        ],
        "markupCols": [
          
        ],
        "table": "motorbikebay",
        "template": "{var sdevtypes = []}{eval}sdevtypes['GA'] = 'Ground Anchor';sdevtypes['BAR'] = 'Security Bar';sdevtypes['UA'] = 'Upright Anchor';sdevtypes['HF'] = 'Holdfast Security Facility';sdevtypes['SS'] = 'Secure Stand Facility';sdevtypes['DK'] = 'Unknown Security Device'{\/eval}<h4>Motorcycle Parking Bay<\/h4>{if defined('street_name') || defined('no_bays') || defined('dedicated_to')|| defined('security_device') || defined('official_bay')}<table>{if defined('street_name')}<tr><th>Street name<\/th><td>${street_name}<\/td><\/tr>{\/if}{if defined('no_bays')}<tr><th>Number of bays<\/th><td>${no_bays}<\/td><\/tr>{\/if}{if defined('dedicated_to')}<tr><th>Dedicated To<\/th><td>${dedicated_to}<\/td><\/tr>{\/if}{if defined('security_device')}<tr><th>Security Device<\/th><td>${sdevtypes[security_device]}<\/td><\/tr>{\/if}{if defined('official_bay') && !official_bay}<tr><td colspan=\\\"2\\\">This is an unofficial bay.<\/td><\/tr>{\/if}<\/table>{else}<p>No information available.<\/p>{\/if}",
        "where": "",
        "style": {
          "externalGraphicIsIcon": true,
          "graphicWidth": 16,
          "graphicHeight": 12
        },
        "headerfields": [
          
        ],
        "headerfieldstext": [
          
        ]
      },
      {
        "name": "Rail Station",
        "legend": "icons\/railtube_.png",
        "icon": "icons\/railtube_.png",
        "iconwidth": 16,
        "iconheight": 16,
        "tag": "railundergroundstation",
        "display": false,
        "displayAtZoom": [
          2,
          1,
          0
        ],
        "geometry": "p",
        "select": "",
        "header": [
          
        ],
        "markupCols": [
          
        ],
        "table": "railundergroundstation",
        "template": "<h4>Rail Station</h4>{if defined('name')}<table>{if defined('name')}<tr><th>Name<\/th><td>${name}<\/td><\/tr>{/if}<\/table>{else}<p>No information available.<\/p>{\/if}",
        "where": "",
        "style": {
          "externalGraphicIsIcon": true,
          "graphicWidth": 16,
          "graphicHeight": 16
        },
        "headerfields": [
          
        ],
        "headerfieldstext": [
          
        ]
      }
    ]
  },
  {
    "id": 5,
    "name": "Walking",
    "activeIcon": "images\/icon_foot.gif",
    "inactiveIcon": "images\/icon_foot_mo.gif",
    "display": "block",
    "zoomonselect": true,
    "features": [
      
    ]
  },
  {
    "id": 6,
    "name": "Blue Badge",
    "activeIcon": "images\/icon_blue_badge.gif",
    "inactiveIcon": "images\/icon_blue_badge_mo.gif",
    "display": "block",
    "features": [
      {
        "name": "Blue Badge parking bay",
        "legend": "icons\/bluebadgebay_.png",
        "icon": "icons\/bluebadgebay_.png",
        "iconwidth": 16,
        "iconheight": 16,
        "tag": "bluebadgeparkingbay",
        "display": false,
        "displayAtZoom": [
          2,
          1,
          0
        ],
        "geometry": "p",
        "select": "",
        "header": [
          
        ],
        "markupCols": [
          
        ],
        "table": "bluebadgeparkingbay",
        "template": "<h4>Blue Badge parking bay<\/h4>{if defined('street_name') || defined('no_bays') || defined('max_stay')|| defined('permit_required') || defined('restrictions')}<table>{if defined('street_name')}<tr><th>Street name<\/th><td>${street_name}<\/td><\/tr>{\/if}{if defined('no_bays')}<tr><th>Number of bays<\/th><td>${no_bays}<\/td><\/tr>{\/if}{if defined('max_stay')}<tr><th>Max stay<\/th><td>{if max_stay == 24}unlimited{elseif max_stay == 99}check local limits{else}${max_stay} hours{\/if}<\/td><\/tr>{\/if}{if defined('permit_required')}<tr><th>Permit required<\/th><td>${permit_required}<\/td><\/tr>{\/if}{if defined('restrictions')}<tr><th>Restrictions<\/th><td>${restrictions}<\/td><\/tr>{\/if}<\/table>{else}<p>No information available.<\/p>{\/if}",
        "where": "",
        "style": {
          "externalGraphicIsIcon": true,
          "graphicWidth": 16,
          "graphicHeight": 16
        },
        "headerfields": [
          
        ],
        "headerfieldstext": [
          
        ]
      },
      {
        "name": "Venue Car Park",
        "legend": "icons\/carpark.gif",
        "icon": "icons\/carpark.gif",
        "iconwidth": 16,
        "iconheight": 16,
        "tag": "carparkvenue",
        "display": false,
        "displayAtZoom": [
          2,
          1,
          0
        ],
        "geometry": "p",
        "select": "",
        "header": [
          
        ],
        "markupCols": [
          
        ],
        "table": "carparkvenue",
        "template": "{var types = []}{eval}types['PD'] = 'Pay & Display';types['S'] = 'Surface';types['L'] = 'Lift';types['LS'] = 'Long Stay';types['SS'] = 'Short Stay';types['R'] = 'Rooftop';types['UG'] = 'Underground';types['BC'] = 'Barrier Control';types['MS'] = 'Multi-Storey';{\/eval}<h4>{if defined('name')}${name}{else}Car Park{\/if}<\/h4>{if defined('address_1')}<p>${address_1}{if defined('address_2')}<br\/> ${address_2}{\/if}{if defined('address_3')}<br \/> ${address_3}{\/if}{if defined('address_4')}<br \/> ${address_4}{\/if}{if defined('address_city')}<br \/> ${address_city}{\/if}{if defined('address_county')}<br \/> ${address_county}{\/if}{if defined('address_postcode')}<br \/> ${address_postcode}{\/if}<\/p>{\/if}{if defined('description')}<p>${description}<\/p>{\/if}<table><tr><th>Payment Mode<\/th><td> All major credit cards accepted<\/td><\/tr><table><tr><th>Opening Times<\/th><td>Open\/Close times dependent on events<\/td><\/tr><tr><th>Disabled Access<\/th><td>Please note that there are now no specific disabled bays in Seagrave Road car park<\/td><\/tr>{if  defined('congestion_charge_point') || defined('public_toilet')|| defined('baby_change_facilities') || defined('type') || defined('height_restriction') }{if defined('weekend_restrictions')}<tr><th>Weekend restrictions<\/th><td>${weekend_restrictions}<\/td><\/tr>{\/if}{if defined('congestion_charge_point')}{if congestion_charge_point}<tr><th>Congestion Charge Point<\/th><td>yes<\/td><\/tr>{\/if}{\/if}{if defined('public_toilet')}{if public_toilet}<tr><th>Public Toilet<\/th><td>yes<\/td><\/tr>{\/if}{\/if}{if defined('baby_change_facilities')}{if baby_change_facilities}<tr><th>Baby Change Facilities<\/th><td>yes<\/td><\/tr>{\/if}{\/if}{if defined('type')}<tr><th>Type<\/th><td>${types[type]}<\/td><\/tr>{\/if}{if defined('height_restriction')}<tr><th>Height Restriction<\/th><td>${height_restriction} m<\/td><\/tr>{\/if}{\/if}{if defined('restrictions')}<tr><th>notes<\/tr><\/th>{\/if}<\/table>${restrictions}",
        "where": "",
        "style": {
          "externalGraphicIsIcon": true,
          "graphicWidth": 16,
          "graphicHeight": 16
        },
        "headerfields": [
          
        ],
        "headerfieldstext": [
          
        ]
      },
      {
        "name": "Other Car Park",
        "legend": "icons\/carpark___.png",
        "icon": "icons\/carpark___.png",
        "iconwidth": 16,
        "iconheight": 16,
        "tag": "carparkother",
        "display": false,
        "displayAtZoom": [
          2,
          1,
          0
        ],
        "geometry": "p",
        "select": "",
        "header": [
          
        ],
        "markupCols": [
          
        ],
        "table": "carparkother",
        "template": "{var types = []}{eval}types['PD'] = 'Pay & Display';types['S'] = 'Surface';types['L'] = 'Lift';types['LS'] = 'Long Stay';types['SS'] = 'Short Stay';types['R'] = 'Rooftop';types['UG'] = 'Underground';types['BC'] = 'Barrier Control';types['MS'] = 'Multi-Storey';{\/eval}<h4>{if defined('name')}${name}{else}Car Park{\/if}<\/h4>{if defined('address_1')}<p>${address_1}{if defined('address_2')}<br\/> ${address_2}{\/if}{if defined('address_3')}<br \/> ${address_3}{\/if}{if defined('address_4')}<br \/> ${address_4}{\/if}{if defined('address_city')}<br \/> ${address_city}{\/if}{if defined('address_county')}<br \/> ${address_county}{\/if}{if defined('address_postcode')}<br \/> ${address_postcode}{\/if}<\/p>{\/if}{if defined('phone')}<p>Phone Number: ${phone}<\/p>{\/if}{if defined('description')}<p>${description}<\/p>{\/if}{if defined('monday_opening') || defined('monday_closing')|| defined('saturday_restrictions_from') || defined('saturday_restrictions_to')|| defined('sunday_restrictions_from') || defined('sunday_restrictions_to')|| defined('restrictions') || defined('weekend_restrictions')|| defined('congestion_charge_point') || defined('public_toilet')|| defined('baby_change_facilities') || defined('type') || defined('height_restriction') }<table>{if defined('monday_opening') && defined('monday_closing')}<tr><th>Weekday Opening<\/th><td>${monday_opening} - ${monday_closing}<\/td><\/tr>{\/if}{if defined('saturday_restrictions_from') && defined('saturday_restrictions_to')}<tr><th>Saturday Restrictions<\/th><td>${saturday_restrictions_from} - ${saturday_restrictions_to}<\/td><\/tr>{\/if}{if defined('sunday_restrictions_from') && defined('sunday_restrictions_to')}<tr><th>Sunday Opening<\/th><td>${sunday_restrictions_from} - ${sunday_restrictions_to}<\/td><\/tr>{\/if}{if defined('restrictions')}<tr><th>Restrictions<\/th><td>${restrictions}<\/td><\/tr>{\/if}{if defined('weekend_restrictions')}<tr><th>Weekend restrictions<\/th><td>${weekend_restrictions}<\/td><\/tr>{\/if}{if defined('congestion_charge_point')}<tr><th>Congestion Charge Point<\/th><td>{if congestion_charge_point=='t'}Yes{else}No{\/if}<\/td><\/tr>{\/if}{if defined('public_toilet')}<tr><th>Public Toilet<\/th><td>{if public_toilet=='t'}Yes{else}No{\/if}<\/td><\/tr>{\/if}{if defined('baby_change_facilities')}<tr><th>Baby Change Facilities<\/th><td>{if baby_change_facilities=='t'}Yes{else}No{\/if}<\/td><\/tr>{\/if}{if defined('type')}<tr><th>Type<\/th><td>${types[type]}<\/td><\/tr>{\/if}{if defined('height_restriction')}<tr><th>Height Restriction<\/th><td>${height_restriction} m<\/td><\/tr>{\/if}<\/table>{\/if}",
        "where": "",
        "style": {
          "externalGraphicIsIcon": true,
          "graphicWidth": 16,
          "graphicHeight": 16
        },
        "headerfields": [
          
        ],
        "headerfieldstext": [
          
        ]
      }
    ]
  },
  {
    "id": 7,
    "name": "Cycle",
    "activeIcon": "images\/icon_cycle.gif",
    "inactiveIcon": "images\/icon_cycle_mo.gif",
    "display": "block",
    "zoomonselect": true,
    "features": [
      {
        "name": "Cycle lockup",
        "legend": "icons\/11.png",
        "icon": "icons\/11.png",
        "iconwidth": 18,
        "iconheight": 18,
        "tag": "cyclelockup",
        "display": false,
        "displayAtZoom": [
          2,
          1,
          0
        ],
        "geometry": "p",
        "select": "",
        "header": [
          
        ],
        "markupCols": [
          
        ],
        "table": "cyclelockup",
        "template": "{var lock_types = []}{eval}lock_types['BAR'] = 'Bar';lock_types['RACK'] = 'Rack';lock_types['BL'] = 'Bike Locker';lock_types['OTHER'] = 'Other';{\/eval}{var cover_types = []}{eval}cover_types['OUTSIDE'] = 'Outside';cover_types['PS'] = 'Partial Sheltered';cover_types['UC'] = 'Under Cover';cover_types['OTHER'] = 'Other';{\/eval}<h4>Cycle lockup<\/h4><table>{if defined('street_name')}<tr><th>Street name<\/th><td>${street_name}<\/td><\/tr>{\/if}{if defined('lock_type')}<tr><th>Lock type<\/th><td>${lock_types[lock_type]}<\/td><\/tr>{\/if}{if defined('no_locks')}<tr><th>No. of locks<\/th><td>${no_locks}<\/td><\/tr>{\/if}{if defined('cover_type')}<tr><th>Cover<\/th><td>${cover_types[cover_type]}<\/td><\/tr>{\/if}<\/table>",
        "where": "",
        "style": {
          "externalGraphicIsIcon": true,
          "graphicWidth": 18,
          "graphicHeight": 18
        },
        "headerfields": [
          
        ],
        "headerfieldstext": [
          
        ]
      },
      {
        "name": "Cycle shop",
        "legend": "icons\/cycle-shop_.png",
        "icon": "icons\/cycle-shop_.png",
        "iconwidth": 18,
        "iconheight": 18,
        "tag": "cycleshop",
        "display": false,
        "displayAtZoom": [
          2,
          1,
          0
        ],
        "geometry": "p",
        "select": "",
        "header": [
          
        ],
        "markupCols": [
          
        ],
        "table": "cycleshop",
        "template": "{var lock_types = []}{eval}lock_types['BAR'] = 'Bar';lock_types['RACK'] = 'Rack';lock_types['BL'] = 'Bike Locker';lock_types['OTHER'] = 'Other';{\/eval}{var cover_types = []}{eval}cover_types['OUTSIDE'] = 'Outside';cover_types['PS'] = 'Partial Sheltered';cover_types['UC'] = 'Under Cover';cover_types['OTHER'] = 'Other';{\/eval}<h4>Cycle shop<\/h4>{if defined('name')}${name}<br\/>{\/if}{if defined('address_building_number') || defined('address_building_name') || defined('address_1') || defined('address_postcode') || defined('address_city')}<p>{if defined('address_building_number')}${address_building_number} &nbsp;{\/if}{if defined('address_building_name')}${address_building_name}<br\/>{\/if}{if defined('address_1')}${address_1}<br\/>{\/if}{if defined('address_postcode')}${address_postcode}<br\/>{\/if}<\/p>{\/if}<table>{if defined('phone')}<tr><th>Phone<\/th><td>${phone}<\/td><\/tr>{\/if}<\/table>",
        "where": "",
        "style": {
          "externalGraphicIsIcon": true,
          "graphicWidth": 18,
          "graphicHeight": 18
        },
        "headerfields": [
          
        ],
        "headerfieldstext": [
          
        ]
      },
      {
        "name": "Cycle hire",
        "legend": "icons\/cycle-hire.png",
        "icon": "icons\/cycle-hire.png",
        "iconwidth": 18,
        "iconheight": 18,
        "tag": "cyclehire",
        "display": false,
        "displayAtZoom": [
          2,
          1,
          0
        ],
        "geometry": "p",
        "select": "",
        "header": [
          
        ],
        "markupCols": [
          
        ],
        "table": "cyclehire",
        "template": "{var lock_types = []}{eval}lock_types['BAR'] = 'Bar';lock_types['RACK'] = 'Rack';lock_types['BL'] = 'Bike Locker';lock_types['OTHER'] = 'Other';{\/eval}{var cover_types = []}{eval}cover_types['OUTSIDE'] = 'Outside';cover_types['PS'] = 'Partial Sheltered';cover_types['UC'] = 'Under Cover';cover_types['OTHER'] = 'Other';{\/eval}<h4>Cycle hire<\/h4><table>{if defined('name')}<tr><th>Location<\/th><td>${name}<\/td><\/tr>{\/if}{if defined('street_name')}<tr><th>Street<\/th><td>${street_name}<\/td><\/tr>{\/if}{if defined('web')}<tr><th>Hire Company<\/th><td>${web}<\/td><\/tr>{\/if}{if defined('description')}<tr><th>Description<\/th><td>${description}<\/td><\/tr>{\/if}<\/table>",
        "where": "",
        "style": {
          "externalGraphicIsIcon": true,
          "graphicWidth": 18,
          "graphicHeight": 18
        },
        "headerfields": [
          
        ],
        "headerfieldstext": [
          
        ]
      }
    ]
  },
  {
    "id": 8,
    "name": "ECO-ent",
    "activeIcon": "",
    "inactiveIcon": "",
    "display": "block",
    "hide_in_legendBar": true,
    "features": [
      {
        "name": "Entrance",
        "legend": "icons\/foot.gif",
        "icon": "icons\/foot.gif",
        "iconwidth": 19,
        "iconheight": 18,
        "tag": "entrance",
        "display": true,
        "hide_in_legend":  true,
        "displayAtZoom": [
          2,
          1
        ],
        "geometry": "p",
        "select": "",
        "header": [
          
        ],
        "markupCols": [
          
        ],
        "table": "entrance",
        "template": "{var sdevtypes = []}<h4>Entrance<\/h4>{if defined('name') || defined('description')}<table>{if defined('name')}<tr><th>Name<\/th><td>${name}<\/td><\/tr>{\/if}{if defined('description')}<tr><th>Description<\/th><td>${description}<\/td><\/tr>{\/if}<\/table>{else}<p>No information available.<\/p>{\/if}",
        "where": "",
        "style": {
          "externalGraphicIsIcon": true,
          "graphicWidth": 19,
          "graphicHeight": 18
        },
        "headerfields": [
          
        ],
        "headerfieldstext": [
          
        ]
      }
    ]
  },
  {
    "id": 9,
    "name": "ECO-logo",
    "activeIcon": "",
    "inactiveIcon": "",
    "display": "block",
    "hide_in_legendBar": true,
    "features": [
      {
        "name": "Earl's Court",
        "legend": "icons\/ECO_Earls_Court_blk2_.PNG",
        "icon": "icons\/ECO_Earls_Court_blk2_.PNG",
        "iconwidth": 88,
        "iconheight": 29,
        "tag": "eco",
        "display": true,
        "hide_in_legend":  true,
        "displayAtZoom": [
          0
        ],
        "geometry": "p",
        "select": "",
        "header": [
          
        ],
        "markupCols": [
          
        ],
        "table": "eco",
        "template": "<h4>Earls Court & Olympia<\/h4>{if defined('address_1')}<p>${address_1}{if defined('address_2')}<br\/> ${address_2}{\/if}{if defined('address_3')}<br \/> ${address_3}{\/if}{if defined('address_4')}<br \/> ${address_4}{\/if}{if defined('address_city')}<br \/> ${address_city}{\/if}{if defined('address_county')}<br \/> ${address_county}{\/if}{if defined('address_postcode')}<br \/> ${address_postcode}{\/if}<\/p>{\/if}{if defined('phone')}<p>Phone Number: ${phone}<\/p>{\/if}",
        "where": "",
        "style": {
          "externalGraphicIsIcon": true,
          "graphicWidth": 88,
          "graphicHeight": 29
        },
        "headerfields": [
          
        ],
        "headerfieldstext": [
          
        ]
      },
      {
        "name": "Olympia",
        "legend": "icons\/oly.PNG",
        "icon": "icons\/oly.PNG",
        "iconwidth": 88,
        "iconheight": 29,
        "tag": "ecoolympia",
        "display": true,
        "hide_in_legend":  true,
        "displayAtZoom": [
          0
        ],
        "geometry": "p",
        "select": "",
        "header": [
          
        ],
        "markupCols": [
          
        ],
        "table": "ecoolympia",
        "template": "<h4>Earls Court & Olympia<\/h4>{if defined('address_1')}<p>${address_1}{if defined('address_2')}<br\/> ${address_2}{\/if}{if defined('address_3')}<br \/> ${address_3}{\/if}{if defined('address_4')}<br \/> ${address_4}{\/if}{if defined('address_city')}<br \/> ${address_city}{\/if}{if defined('address_county')}<br \/> ${address_county}{\/if}{if defined('address_postcode')}<br \/> ${address_postcode}{\/if}<\/p>{\/if}{if defined('phone')}<p>Phone Number: ${phone}<\/p>{\/if}",
        "where": "",
        "style": {
          "externalGraphicIsIcon": true,
          "graphicWidth": 74,
          "graphicHeight": 29
        },
        "headerfields": [
          
        ],
        "headerfieldstext": [
          
        ]
      }


    ]
  },
];

