var _project_info = {"client_name": "Royal Hospital Chelsea", "id": 6, "client_id": 7, "title": "Royal Hospital Chelsea"};
var _layer_feats = [{"typeId": 108, "name": "Landmark", "featuretypes": [{"styles": [{"strokeWidth": 1, "title": "Landmark", "fillColor": "#0000FF", "strokeDashstyle": "solid", "strokeColor": "#0000FF", "fillOpacity": 0.5}], "style": {}, "typename": "onezeroeightlandmark", "template": "<h4>${name}</h4>", "geo_type": "POLYGON", "legend": {"legend": "http://172.25.81.9/gmedia/legends/marker_unknown_legend.png", "legend_height": 16, "legend_width": 16}}], "options2": {"typename": "onezeroeightlandmark", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"strokeWidth\": 1, \"title\": \"Landmark\", \"fillColor\": \"#0000FF\", \"strokeDashstyle\": \"solid\", \"strokeColor\": \"#0000FF\", \"fillOpacity\": 0.5})", "buffer": 0, "extractAttributes": true, "minScale": null, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}, {"typeId": 122, "name": "Entrance", "featuretypes": [{"styles": [{"graphicHeight": 23, "graphicYOffset": -12.0, "graphicXOffset": -11.0, "graphicWidth": 24, "title": "Entrance", "externalGraphic": "http://static.media.thepieguide.com/symbols/entrance.png", "graphicZIndex": 11, "graphicOpacity": 1, "label": ""}], "style": {}, "typename": "onetwotwoentrance", "template": "<h4>Entrance</h4>\r\n{if defined('name') || defined('description')}\r\n\t\r\n\t<table>\r\n\t\t{if defined('name')}\r\n\t\t<tr>\r\n\t\t\t<th>Name</th>\r\n\t\t\t<td>${name}</td>\r\n\r\n\t\t</tr>\t\t\r\n\t\t{/if}\r\n\t\t\r\n\t\t{if defined('description')}\r\n\t\t<tr>\r\n\r\n\t\t\t<th>Description</th>\r\n\t\t\t<td>${description}</td>\r\n\t\t</tr>\t\t\r\n\t\t{/if}\r\n\t\t\r\n\t\t\r\n\t</table>\r\n\r\n{else}\r\n\r\n<p>No information available.</p>\r\n\r\n{/if}\r\n", "geo_type": "POINT", "legend": {"legend": "http://static.media.thepieguide.com/symbols/entrance.png", "legend_height": 23, "legend_width": 24}}], "options2": {"typename": "onetwotwoentrance", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"graphicHeight\": 23, \"graphicYOffset\": -12.0, \"graphicXOffset\": -11.0, \"graphicWidth\": 24, \"title\": \"Entrance\", \"externalGraphic\": \"http://static.media.thepieguide.com/symbols/entrance.png\", \"graphicZIndex\": 11, \"graphicOpacity\": 1, \"label\": \"\"})", "buffer": 0, "extractAttributes": true, "minScale": null, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}, {"typeId": 106, "name": "Taxi Rank", "featuretypes": [{"styles": [{"graphicHeight": 23, "graphicYOffset": -12.0, "graphicXOffset": -11.0, "graphicWidth": 24, "title": "Taxi Rank", "externalGraphic": "http://static.media.thepieguide.com/symbols/taxirank_.png", "graphicZIndex": 11, "graphicOpacity": 1, "label": ""}], "style": {}, "typename": "onezerosixtaxiranks", "template": "<h4>{if defined('name')} ${name} {else} Taxi Rank{/if}</h4>\r\n{if defined('street')}\r\n<table>\r\n<tbody>\r\n  {if defined('street')}\r\n    <tr><td colspan=2><i>${street}</i></td></tr>\r\n  {/if}\r\n  </tbody>\r\n  </table>\r\n{else}\r\n    <p>No information available.</p>\r\n {/if}", "geo_type": "POINT", "legend": {"legend": "http://static.media.thepieguide.com/symbols/taxirank_.png", "legend_height": 23, "legend_width": 24}}], "options2": {"typename": "onezerosixtaxiranks", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"graphicHeight\": 23, \"graphicYOffset\": -12.0, \"graphicXOffset\": -11.0, \"graphicWidth\": 24, \"title\": \"Taxi Rank\", \"externalGraphic\": \"http://static.media.thepieguide.com/symbols/taxirank_.png\", \"graphicZIndex\": 11, \"graphicOpacity\": 1, \"label\": \"\"})", "buffer": 0, "extractAttributes": true, "minScale": 3690, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}, {"typeId": 113, "name": "Pedestrian Crossing", "featuretypes": [{"styles": [{"strokeWidth": 3, "title": "Pedestrian Crossing", "fillColor": "#666666", "strokeDashstyle": "solid", "strokeColor": "#666666", "fillOpacity": 1.0}], "style": {}, "typename": "oneonethreepedestriancrossing", "template": "", "geo_type": "LINESTRING", "legend": {"legend": "http://172.25.81.9/gmedia/legends/marker_unknown_legend.png", "legend_height": 16, "legend_width": 16}}], "options2": {"typename": "oneonethreepedestriancrossing", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"strokeWidth\": 3, \"title\": \"Pedestrian Crossing\", \"fillColor\": \"#666666\", \"strokeDashstyle\": \"solid\", \"strokeColor\": \"#666666\", \"fillOpacity\": 1.0})", "buffer": 0, "extractAttributes": true, "minScale": 3690, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}, {"typeId": 107, "name": "Restricted Access Road", "featuretypes": [{"styles": [{"strokeWidth": 1, "title": "Restricted Access Road", "fillColor": "#000000", "strokeDashstyle": "solid", "strokeColor": "#000000", "fillOpacity": 0.5}], "style": {}, "typename": "onezerosevenrestrictedaccessroad", "template": "<h4>Restricted road</h4>", "geo_type": "POLYGON", "legend": {"legend": "http://172.25.81.9/gmedia/legends/marker_unknown_legend.png", "legend_height": 16, "legend_width": 16}}], "options2": {"typename": "onezerosevenrestrictedaccessroad", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"strokeWidth\": 1, \"title\": \"Restricted Access Road\", \"fillColor\": \"#000000\", \"strokeDashstyle\": \"solid\", \"strokeColor\": \"#000000\", \"fillOpacity\": 0.5})", "buffer": 0, "extractAttributes": true, "minScale": null, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}, {"typeId": 109, "name": "Single Yellow Line", "featuretypes": [{"styles": [{"strokeWidth": 3, "title": "Single Yellow Line", "fillColor": "#FFFF00", "strokeDashstyle": "solid", "strokeColor": "#FFFF00", "fillOpacity": 1.0}], "style": {}, "typename": "onezeroninesingleyellowline", "template": "<h4>Single yellow line</h4>\r\n{if defined('disabled_restrictions')}\r\n<p>${disabled_restrictions}</p>\r\n{/if}", "geo_type": "LINESTRING", "legend": {"legend": "http://172.25.81.9/gmedia/legends/marker_unknown_legend.png", "legend_height": 16, "legend_width": 16}}], "options2": {"typename": "onezeroninesingleyellowline", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"strokeWidth\": 3, \"title\": \"Single Yellow Line\", \"fillColor\": \"#FFFF00\", \"strokeDashstyle\": \"solid\", \"strokeColor\": \"#FFFF00\", \"fillOpacity\": 1.0})", "buffer": 0, "extractAttributes": true, "minScale": 3690, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}, {"typeId": 110, "name": "Pay and Display/Metre", "featuretypes": [{"styles": [{"strokeWidth": 3, "title": "Pay and Display/Metre", "fillColor": "#9900FF", "strokeDashstyle": "solid", "strokeColor": "#9900FF", "fillOpacity": 1.0}], "style": {}, "typename": "oneonezeropayanddisplaymetre", "template": "<h4>{if defined('name')}${name}{else}Pay and Display{/if}</h4>\r\n{if defined('description')}\r\n<p>${description}</p>\r\n{/if}", "geo_type": "LINESTRING", "legend": {"legend": "http://172.25.81.9/gmedia/legends/marker_unknown_legend.png", "legend_height": 16, "legend_width": 16}}], "options2": {"typename": "oneonezeropayanddisplaymetre", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"strokeWidth\": 3, \"title\": \"Pay and Display/Metre\", \"fillColor\": \"#9900FF\", \"strokeDashstyle\": \"solid\", \"strokeColor\": \"#9900FF\", \"fillOpacity\": 1.0})", "buffer": 0, "extractAttributes": true, "minScale": 3690, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}, {"typeId": 95, "name": "Petrol Station", "featuretypes": [{"styles": [{"backgroundGraphicZIndex": 10, "graphicHeight": 29, "backgroundWidth": 37, "graphicYOffset": -29, "graphicXOffset": -12, "backgroundXOffset": -4, "backgroundOpacity": 1, "label": "", "graphicOpacity": 1, "title": "Petrol Station", "graphicZIndex": 11, "backgroundGraphic": "http://static.media.thepieguide.com/symbols/icon_shadow.png", "graphicWidth": 25, "backgroundYOffset": -26, "externalGraphic": "http://static.media.thepieguide.com/symbols/petrolstation__.png", "backgroundHeight": 30}], "style": {}, "typename": "ninefivepetrolstation", "template": "<h4>${name}</h4>\r\n\r\n{if defined('address_1')}\r\n<p>\r\n\t${address_1}\r\n\t{if defined('address_2')}\r\n\t\t<br /> ${address_2}\r\n\t{/if}\r\n\t{if defined('address_3')}\r\n\t\t<br /> ${address_3}\r\n\t{/if}\r\n\t{if defined('address_4')}\r\n\t\t<br /> ${address_4}\r\n\t{/if}\r\n\t{if defined('address_city')}\r\n\t\t<br /> ${address_city}\r\n\t{/if}\r\n\t{if defined('address_county')}\r\n\t\t<br /> ${address_county}\r\n\t{/if}\r\n\t{if defined('address_postcode')}\r\n\t\t<br /> ${address_postcode}\r\n\t{/if}\r\n</p>\r\n{/if}\r\n\r\n{if defined('phone')}\r\n<p>Tel: ${phone}</p>\r\n{/if}\r\n\r\n{if defined('twentyfour_hours') \r\n || defined('public_toilet') ||defined('cash_machine')}\r\n \r\n<table>\r\n<tbody>\r\n\t\r\n\t\r\n\t{if defined('twentyfour_hours')}\r\n\t<tr>\r\n\t\t<th>24hr opening</th>\r\n\t\t<td>\r\n\t\t\t{if twentyfour_hours}\r\n\t\t\t\tYes\r\n\t\t\t{else}\r\n\t\t\t\tNo\r\n\t\t\t{/if}\r\n\t\t</td>\r\n\t</tr>\t\t\r\n\t{/if}\r\n\t\r\n\t\r\n\t{if defined('public_toilet')}\r\n\t<tr>\r\n\t\t<th>Public toilet</th>\r\n\t\t<td>\r\n\t\t\t{if public_toilet}\r\n\t\t\t\tYes\r\n\t\t\t{else}\r\n\t\t\t\tNo\r\n\t\t\t{/if}\r\n\t\t</td>\r\n\t</tr>\t\t\r\n\t{/if}\r\n\t\r\n\t\t\r\n\t{if defined('cash_machine')}\r\n\t<tr>\r\n\t\t<th>Cash machine</th>\r\n\t\t<td>\r\n\t\t\t{if cash_machine}\r\n\t\t\t\tYes\r\n\t\t\t{else}\r\n\t\t\t\tNo\r\n\t\t\t{/if}\r\n\t\t</td>\r\n\t</tr>\t\t\r\n\t{/if}\r\n\t\r\n\t\r\n</tbody>\r\n</table>\r\n{/if}", "geo_type": "POINT", "legend": {"legend": "http://static.media.thepieguide.com/legends/sym_petrolstation_grey.png", "legend_height": 13, "legend_width": 18}}], "options2": {"typename": "ninefivepetrolstation", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"backgroundGraphicZIndex\": 10, \"graphicHeight\": 29, \"backgroundWidth\": 37, \"graphicYOffset\": -29, \"graphicXOffset\": -12, \"backgroundXOffset\": -4, \"backgroundOpacity\": 1, \"label\": \"\", \"graphicOpacity\": 1, \"title\": \"Petrol Station\", \"graphicZIndex\": 11, \"backgroundGraphic\": \"http://static.media.thepieguide.com/symbols/icon_shadow.png\", \"graphicWidth\": 25, \"backgroundYOffset\": -26, \"externalGraphic\": \"http://static.media.thepieguide.com/symbols/petrolstation__.png\", \"backgroundHeight\": 30})", "buffer": 0, "extractAttributes": true, "minScale": null, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}, {"typeId": 96, "name": "Car Park", "featuretypes": [{"styles": [{"graphicHeight": 29, "graphicYOffset": -12.0, "graphicXOffset": -14.0, "graphicWidth": 25, "title": "Car Park", "externalGraphic": "http://static.media.thepieguide.com/symbols/carpark.png", "graphicZIndex": 11, "graphicOpacity": 1, "label": ""}], "style": {}, "typename": "ninesixcarparksmb", "template": "{var types = []}\r\n{eval}\r\n\ttypes['PD'] = 'Pay & Display';\r\n\ttypes['S'] = 'Surface';\r\n\ttypes['L'] = 'Lift';\r\n\ttypes['LS'] = 'Long Stay';\r\n\ttypes['SS'] = 'Short Stay';\r\n\ttypes['R'] = 'Rooftop';\r\n\ttypes['UG'] = 'Underground';\r\n\ttypes['BC'] = 'Barrier Control';\r\n\ttypes['MS'] = 'Multi-Storey';\r\n{/eval}\r\n\r\n<h4>\r\n{if defined('name')}\r\n\t${name}\r\n{else}\r\n\tCar Park\r\n{/if}\r\n</h4>\r\n\r\n{if defined('description')}\r\n\t<p>${description}</p>\r\n{/if}\r\n\r\n{if defined('address_1')}\r\n<p>\r\n\t${address_1}\r\n\t{if defined('address_2')}\r\n\t\t<br/> ${address_2}\r\n\t{/if}\r\n\t{if defined('address_3')}\r\n\t\t<br /> ${address_3}\r\n\t{/if}\r\n\t{if defined('address_4')}\r\n\t\t<br /> ${address_4}\r\n\t{/if}\r\n\t{if defined('address_city')}\r\n\t\t<br /> ${address_city}\r\n\t{/if}\r\n\t{if defined('address_county')}\r\n\t\t<br /> ${address_county}\r\n\t{/if}\r\n\t{if defined('address_postcode')}\r\n\t\t<br /> ${address_postcode}\r\n\t{/if}\r\n</p>\r\n{/if}\r\n\r\n{if defined('phone')}\r\n\t<p>Phone Number: ${phone}</p>\r\n{/if}\r\n\r\n{if defined('monday_opening') || defined('monday_closing')\r\n\t|| defined('saturday_restrictions_from') || defined('saturday_restrictions_to')\r\n\t|| defined('sunday_restrictions_from') || defined('sunday_restrictions_to')\r\n\t|| defined('restrictions') || defined('weekend_restrictions')\r\n\t|| defined('congestion_charge_point') || defined('public_toilet')\r\n\t|| defined('baby_change_facilities') || defined('type') || defined('height_restriction') } \r\n\r\n\t<table>\r\n\t<tbody>\r\n    \t{if defined('monday_opening') && defined('monday_closing')}\r\n        <tr>\r\n            <th>Weekday Opening</th>\r\n            <td>${monday_opening} - ${monday_closing}</td>\r\n        </tr>\t\t\r\n\t\t{/if}\r\n        \r\n        {if defined('saturday_restrictions_from') && defined('saturday_restrictions_to')}\r\n        <tr>\r\n            <th>Saturday Restrictions</th>\r\n            <td>${saturday_restrictions_from} - ${saturday_restrictions_to}</td>\r\n        </tr>\t\t\r\n        {/if}\r\n        \r\n        {if defined('sunday_restrictions_from') && defined('sunday_restrictions_to')}\r\n        <tr>\r\n            <th>Sunday Opening</th>\r\n            <td>${sunday_restrictions_from} - ${sunday_restrictions_to}</td>\r\n        </tr>\t\t\r\n        {/if}\r\n        \r\n        {if defined('restrictions')}\r\n        <tr>    \r\n            <th>Restrictions</th>\r\n            <td>${restrictions}</td>\r\n        </tr>\t\t\r\n        {/if}\r\n        \r\n        {if defined('weekend_restrictions')}\r\n        <tr>\r\n            <th>Weekend restrictions</th>\r\n            <td>${weekend_restrictions}</td>\r\n        </tr>\t\t\r\n        {/if}\r\n    \r\n        {if defined('congestion_charge_point')}\r\n\t\t<tr>\r\n\t\t    <th>Congestion Charge Point</th>\r\n\t\t\t<td>\r\n\t\t\t    {if congestion_charge_point}\r\n\t\t\t\t\tYes\r\n\t\t\t\t{else}\r\n\t\t\t\t\tNo\r\n\t\t\t\t{/if}\r\n\t\t\t</td>\r\n\t\t</tr>\t\t\r\n\t\t{/if}\r\n\t\t\r\n\t\t{if defined('public_toilet')}\r\n\t\t<tr>\r\n\t\t\t<th>Public Toilet</th>\r\n\t\t\t<td>\r\n\t\t\t\t{if public_toilet}\r\n\t\t\t\t \tYes \r\n\t\t\t\t{else} \r\n\t\t\t\t\tNo \r\n\t\t\t\t{/if}\r\n\t\t\t</td>\r\n\t\t</tr>\t\t\r\n\t\t{/if}\r\n\t\t\r\n\t\t{if defined('baby_change_facilities')}\r\n        <tr>\r\n            <th>Baby Change Facilities</th>\r\n            <td>\r\n                {if baby_change_facilities}\r\n            \t    Yes \r\n                {else} \r\n                \tNo \r\n                {/if}\r\n            </td>\r\n        </tr>\t\t\r\n        {/if}\r\n        \r\n        {if defined('type')}\r\n        <tr>\r\n            <th>Type</th>\r\n            <td>${types[type]}</td>\r\n        </tr>\t\t\r\n        {/if}\r\n        \r\n        {if defined('height_restriction')}\r\n        <tr>\r\n            <th>Height Restriction</th>\r\n            <td>${height_restriction} m</td>\r\n        </tr>\t\t\r\n        {/if}\r\n\t</tbody>\r\n    </table>\r\n{/if}", "geo_type": "POINT", "legend": {"legend": "http://static.media.thepieguide.com/legends/sym_parking.png", "legend_height": 13, "legend_width": 18}}], "options2": {"typename": "ninesixcarparksmb", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"graphicHeight\": 29, \"graphicYOffset\": -12.0, \"graphicXOffset\": -14.0, \"graphicWidth\": 25, \"title\": \"Car Park\", \"externalGraphic\": \"http://static.media.thepieguide.com/symbols/carpark.png\", \"graphicZIndex\": 11, \"graphicOpacity\": 1, \"label\": \"\"})", "buffer": 0, "extractAttributes": true, "minScale": null, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}, {"typeId": 111, "name": "Bus Stop", "featuretypes": [{"styles": [{"graphicHeight": 29, "graphicYOffset": -12.0, "graphicXOffset": -14.0, "graphicWidth": 25, "title": "Bus Stop", "externalGraphic": "http://static.media.thepieguide.com/symbols/busstop___.png", "graphicZIndex": 11, "graphicOpacity": 1, "label": ""}], "style": {}, "typename": "oneoneonebusstop", "template": "<h4>\r\n\tBus stop\r\n\t{if defined('letter')} ${letter} {/if}\r\n</h4>\r\n\r\n{if defined('site_name') || defined('routes') || defined('direction')}\r\n\r\n<table>\r\n<tbody>\r\n\t{if defined('site_name')}\r\n\t\t<tr>\r\n\t\t\t<th>Site name</th>\r\n\t\t\t<td>${site_name}</td>\r\n\t\t</tr>\t\t\r\n\t{/if}\r\n\t\r\n\t{if defined('routes')}\r\n\t\t<tr>\r\n\t\t\t<th>Routes stopping</th>\r\n\t\t\t<td>${routes}</td>\r\n\t\t</tr>\t\t\r\n\t{/if}\t\r\n  {if defined('direction')}\r\n    <tr><th>Direction</th><td>${direction}</td></tr>\r\n  {/if}\r\n\r\n</tbody>\t\r\n</table>\r\n\r\n{else}\r\n\r\n<p>No information available.</p>\r\n\r\n{/if}\r\n", "geo_type": "POINT", "legend": {"legend": "http://static.media.thepieguide.com/legends/sym_bus_.png", "legend_height": 13, "legend_width": 18}}], "options2": {"typename": "oneoneonebusstop", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"graphicHeight\": 29, \"graphicYOffset\": -12.0, \"graphicXOffset\": -14.0, \"graphicWidth\": 25, \"title\": \"Bus Stop\", \"externalGraphic\": \"http://static.media.thepieguide.com/symbols/busstop___.png\", \"graphicZIndex\": 11, \"graphicOpacity\": 1, \"label\": \"\"})", "buffer": 0, "extractAttributes": true, "minScale": null, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}, {"typeId": 112, "name": "Red Route Box Bay", "featuretypes": [{"styles": [{"graphicHeight": 29, "graphicYOffset": -12.0, "graphicXOffset": -14.0, "graphicWidth": 25, "title": "Red Route Box Bay", "externalGraphic": "http://static.media.thepieguide.com/symbols/redroute_box_bay.png", "graphicZIndex": 11, "graphicOpacity": 1, "label": ""}], "style": {}, "typename": "oneonetworedrouteboxbay", "template": "<h4>Red Route box bay</h4>\r\n\r\n{if defined('street_name') || defined('number_of_bays') || defined('description')}\r\n\r\n<table>\r\n\r\n\t{if defined('street_name')}\r\n\t\t<tr>\r\n\t\t\t<th>Street name</th>\r\n\t\t\t<td>${street_name}</td>\r\n\t\t</tr>\t\t\r\n\t{/if}\r\n\t\r\n\t{if defined('number_of_bays')}\r\n\t\t<tr>\r\n\t\t\t<th>Number of bays</th>\r\n\t\t\t<td>${number_of_bays}</td>\r\n\t\t</tr>\t\t\r\n\t{/if}\r\n\t\r\n\t{if defined('description')}\r\n\t\t<tr>\r\n\t\t\t<th>Description</th>\r\n\t\t\t<td>${description}</td>\r\n\t\t</tr>\t\t\r\n\t{/if}\r\n\t\r\n</table>\r\n\r\n{else}\r\n\r\n<p>No information available.</p>\r\n\r\n{/if}", "geo_type": "POINT", "legend": {"legend": "http://static.media.thepieguide.com/legends/sym_redroute_box_bay.png", "legend_height": 13, "legend_width": 18}}], "options2": {"typename": "oneonetworedrouteboxbay", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"graphicHeight\": 29, \"graphicYOffset\": -12.0, \"graphicXOffset\": -14.0, \"graphicWidth\": 25, \"title\": \"Red Route Box Bay\", \"externalGraphic\": \"http://static.media.thepieguide.com/symbols/redroute_box_bay.png\", \"graphicZIndex\": 11, \"graphicOpacity\": 1, \"label\": \"\"})", "buffer": 0, "extractAttributes": true, "minScale": null, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}, {"typeId": 119, "name": "Blue Badge Bay", "featuretypes": [{"styles": [{"graphicHeight": 29, "graphicYOffset": -12.0, "graphicXOffset": -14.0, "graphicWidth": 25, "title": "Blue Badge Bay", "externalGraphic": "http://static.media.thepieguide.com/symbols/bluebadge____.png", "graphicZIndex": 11, "graphicOpacity": 1, "label": ""}], "style": {}, "typename": "oneoneninebluebadgebay", "template": "<h4>Blue Badge parking bay</h4>\r\n\r\n{if defined('street_name') || defined('no_bays') || defined('max_stay')\r\n || defined('permit_required') || defined('restrictions')}\r\n\t\r\n\t<table>\r\n\t\t{if defined('street_name')}\r\n\t\t<tr>\r\n\t\t\t<th>Street name</th>\r\n\t\t\t<td>${street_name}</td>\r\n\t\t</tr>\t\t\r\n\t\t{/if}\r\n\t\t\r\n\t\t{if defined('no_bays')}\r\n\t\t<tr>\r\n\t\t\t<th>Number of bays</th>\r\n\t\t\t<td>${no_bays}</td>\r\n\t\t</tr>\t\t\r\n\t\t{/if}\r\n\t\t\r\n\t\t{if defined('max_stay')}\r\n\t\t<tr>\r\n\t\t\t<th>Max stay</th>\r\n\t\t\t<td>\r\n\t\t\t\t{if max_stay == 24}\r\n\t\t\t\t\tunlimited\r\n\t\t\t\t{elseif max_stay == 99}\r\n\t\t\t\t\tcheck local limits\r\n\t\t\t\t{else}\r\n\t\t\t\t\t${max_stay} hours\r\n\t\t\t\t{/if}\r\n\t\t\t</td>\r\n\t\t</tr>\t\t\r\n\t\t{/if}\r\n\t\t\r\n\t\t{if defined('permit_required')}\r\n\t\t<tr>\r\n\t\t\t<th>Permit required</th>\r\n\t\t\t<td>${permit_required}</td>\r\n\t\t</tr>\t\t\r\n\t\t{/if}\r\n\t\t\r\n\t\t{if defined('restrictions')}\r\n\t\t<tr>\r\n\t\t\t<th>Restrictions</th>\r\n\t\t\t<td>${restrictions}</td>\r\n\t\t</tr>\t\t\r\n\t\t{/if}\r\n\t\t\r\n\t</table>\r\n\r\n{else}\r\n\r\n<p>No information available.</p>\r\n\r\n{/if}", "geo_type": "POINT", "legend": {"legend": "http://static.media.thepieguide.com/legends/sym_bluebadge.png", "legend_height": 13, "legend_width": 18}}], "options2": {"typename": "oneoneninebluebadgebay", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"graphicHeight\": 29, \"graphicYOffset\": -12.0, \"graphicXOffset\": -14.0, \"graphicWidth\": 25, \"title\": \"Blue Badge Bay\", \"externalGraphic\": \"http://static.media.thepieguide.com/symbols/bluebadge____.png\", \"graphicZIndex\": 11, \"graphicOpacity\": 1, \"label\": \"\"})", "buffer": 0, "extractAttributes": true, "minScale": null, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}];
var _layer_cats = [{"features": ["onezeroeightlandmark", "onetwotwoentrance", "onezerosixtaxiranks", "oneonethreepedestriancrossing"], "initial_visibility": true, "title": "On foot", "inactive_icon": "http://static.media.thepieguide.com/layer_img/walking.png", "active_icon": "http://static.media.thepieguide.com/layer_img/walking_blue.png", "id": 43}, {"features": ["onezeroeightlandmark", "onezerosevenrestrictedaccessroad", "onezeroninesingleyellowline", "oneonezeropayanddisplaymetre", "ninefivepetrolstation", "ninesixcarparksmb"], "initial_visibility": false, "title": "With my car", "inactive_icon": "http://static.media.thepieguide.com/layer_img/car.png", "active_icon": "http://static.media.thepieguide.com/layer_img/car_blue.png", "id": 44}, {"features": ["onezeroeightlandmark", "oneoneonebusstop"], "initial_visibility": false, "title": "On the Buses", "inactive_icon": "http://static.media.thepieguide.com/layer_img/bus.png", "active_icon": "http://static.media.thepieguide.com/layer_img/bus_blue.png", "id": 48}, {"features": ["onezeroeightlandmark", "onezerosevenrestrictedaccessroad", "oneonezeropayanddisplaymetre", "oneonetworedrouteboxbay", "ninefivepetrolstation", "ninesixcarparksmb", "oneoneninebluebadgebay"], "initial_visibility": false, "title": "Blue Badge Parking", "inactive_icon": "http://static.media.thepieguide.com/layer_img/disabled_.png", "active_icon": "http://static.media.thepieguide.com/layer_img/disabled_blue_.png", "id": 45}];
var _layer_defs = [{"features": [{"typeId": 108, "name": "Landmark", "featuretypes": [{"styles": [{"strokeWidth": 1, "title": "Landmark", "fillColor": "#0000FF", "strokeDashstyle": "solid", "strokeColor": "#0000FF", "fillOpacity": 0.5}], "style": {}, "typename": "onezeroeightlandmark", "template": "<h4>${name}</h4>", "geo_type": "POLYGON", "legend": {"legend": "http://172.25.81.9/gmedia/legends/marker_unknown_legend.png", "legend_height": 16, "legend_width": 16}}], "options2": {"typename": "onezeroeightlandmark", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"strokeWidth\": 1, \"title\": \"Landmark\", \"fillColor\": \"#0000FF\", \"strokeDashstyle\": \"solid\", \"strokeColor\": \"#0000FF\", \"fillOpacity\": 0.5})", "buffer": 0, "extractAttributes": true, "minScale": null, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}, {"typeId": 122, "name": "Entrance", "featuretypes": [{"styles": [{"graphicHeight": 23, "graphicYOffset": -12.0, "graphicXOffset": -11.0, "graphicWidth": 24, "title": "Entrance", "externalGraphic": "http://static.media.thepieguide.com/symbols/entrance.png", "graphicZIndex": 11, "graphicOpacity": 1, "label": ""}], "style": {}, "typename": "onetwotwoentrance", "template": "<h4>Entrance</h4>\r\n{if defined('name') || defined('description')}\r\n\t\r\n\t<table>\r\n\t\t{if defined('name')}\r\n\t\t<tr>\r\n\t\t\t<th>Name</th>\r\n\t\t\t<td>${name}</td>\r\n\r\n\t\t</tr>\t\t\r\n\t\t{/if}\r\n\t\t\r\n\t\t{if defined('description')}\r\n\t\t<tr>\r\n\r\n\t\t\t<th>Description</th>\r\n\t\t\t<td>${description}</td>\r\n\t\t</tr>\t\t\r\n\t\t{/if}\r\n\t\t\r\n\t\t\r\n\t</table>\r\n\r\n{else}\r\n\r\n<p>No information available.</p>\r\n\r\n{/if}\r\n", "geo_type": "POINT", "legend": {"legend": "http://static.media.thepieguide.com/symbols/entrance.png", "legend_height": 23, "legend_width": 24}}], "options2": {"typename": "onetwotwoentrance", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"graphicHeight\": 23, \"graphicYOffset\": -12.0, \"graphicXOffset\": -11.0, \"graphicWidth\": 24, \"title\": \"Entrance\", \"externalGraphic\": \"http://static.media.thepieguide.com/symbols/entrance.png\", \"graphicZIndex\": 11, \"graphicOpacity\": 1, \"label\": \"\"})", "buffer": 0, "extractAttributes": true, "minScale": null, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}, {"typeId": 106, "name": "Taxi Rank", "featuretypes": [{"styles": [{"graphicHeight": 23, "graphicYOffset": -12.0, "graphicXOffset": -11.0, "graphicWidth": 24, "title": "Taxi Rank", "externalGraphic": "http://static.media.thepieguide.com/symbols/taxirank_.png", "graphicZIndex": 11, "graphicOpacity": 1, "label": ""}], "style": {}, "typename": "onezerosixtaxiranks", "template": "<h4>{if defined('name')} ${name} {else} Taxi Rank{/if}</h4>\r\n{if defined('street')}\r\n<table>\r\n<tbody>\r\n  {if defined('street')}\r\n    <tr><td colspan=2><i>${street}</i></td></tr>\r\n  {/if}\r\n  </tbody>\r\n  </table>\r\n{else}\r\n    <p>No information available.</p>\r\n {/if}", "geo_type": "POINT", "legend": {"legend": "http://static.media.thepieguide.com/symbols/taxirank_.png", "legend_height": 23, "legend_width": 24}}], "options2": {"typename": "onezerosixtaxiranks", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"graphicHeight\": 23, \"graphicYOffset\": -12.0, \"graphicXOffset\": -11.0, \"graphicWidth\": 24, \"title\": \"Taxi Rank\", \"externalGraphic\": \"http://static.media.thepieguide.com/symbols/taxirank_.png\", \"graphicZIndex\": 11, \"graphicOpacity\": 1, \"label\": \"\"})", "buffer": 0, "extractAttributes": true, "minScale": 3690, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}, {"typeId": 113, "name": "Pedestrian Crossing", "featuretypes": [{"styles": [{"strokeWidth": 3, "title": "Pedestrian Crossing", "fillColor": "#666666", "strokeDashstyle": "solid", "strokeColor": "#666666", "fillOpacity": 1.0}], "style": {}, "typename": "oneonethreepedestriancrossing", "template": "", "geo_type": "LINESTRING", "legend": {"legend": "http://172.25.81.9/gmedia/legends/marker_unknown_legend.png", "legend_height": 16, "legend_width": 16}}], "options2": {"typename": "oneonethreepedestriancrossing", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"strokeWidth\": 3, \"title\": \"Pedestrian Crossing\", \"fillColor\": \"#666666\", \"strokeDashstyle\": \"solid\", \"strokeColor\": \"#666666\", \"fillOpacity\": 1.0})", "buffer": 0, "extractAttributes": true, "minScale": 3690, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}], "initial_visibility": true, "title": "On foot", "inactive_icon": "http://static.media.thepieguide.com/layer_img/walking.png", "active_icon": "http://static.media.thepieguide.com/layer_img/walking_blue.png", "id": 43}, {"features": [{"typeId": 108, "name": "Landmark", "featuretypes": [{"styles": [{"strokeWidth": 1, "title": "Landmark", "fillColor": "#0000FF", "strokeDashstyle": "solid", "strokeColor": "#0000FF", "fillOpacity": 0.5}], "style": {}, "typename": "onezeroeightlandmark", "template": "<h4>${name}</h4>", "geo_type": "POLYGON", "legend": {"legend": "http://172.25.81.9/gmedia/legends/marker_unknown_legend.png", "legend_height": 16, "legend_width": 16}}], "options2": {"typename": "onezeroeightlandmark", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"strokeWidth\": 1, \"title\": \"Landmark\", \"fillColor\": \"#0000FF\", \"strokeDashstyle\": \"solid\", \"strokeColor\": \"#0000FF\", \"fillOpacity\": 0.5})", "buffer": 0, "extractAttributes": true, "minScale": null, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}, {"typeId": 107, "name": "Restricted Access Road", "featuretypes": [{"styles": [{"strokeWidth": 1, "title": "Restricted Access Road", "fillColor": "#000000", "strokeDashstyle": "solid", "strokeColor": "#000000", "fillOpacity": 0.5}], "style": {}, "typename": "onezerosevenrestrictedaccessroad", "template": "<h4>Restricted road</h4>", "geo_type": "POLYGON", "legend": {"legend": "http://172.25.81.9/gmedia/legends/marker_unknown_legend.png", "legend_height": 16, "legend_width": 16}}], "options2": {"typename": "onezerosevenrestrictedaccessroad", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"strokeWidth\": 1, \"title\": \"Restricted Access Road\", \"fillColor\": \"#000000\", \"strokeDashstyle\": \"solid\", \"strokeColor\": \"#000000\", \"fillOpacity\": 0.5})", "buffer": 0, "extractAttributes": true, "minScale": null, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}, {"typeId": 109, "name": "Single Yellow Line", "featuretypes": [{"styles": [{"strokeWidth": 3, "title": "Single Yellow Line", "fillColor": "#FFFF00", "strokeDashstyle": "solid", "strokeColor": "#FFFF00", "fillOpacity": 1.0}], "style": {}, "typename": "onezeroninesingleyellowline", "template": "<h4>Single yellow line</h4>\r\n{if defined('disabled_restrictions')}\r\n<p>${disabled_restrictions}</p>\r\n{/if}", "geo_type": "LINESTRING", "legend": {"legend": "http://172.25.81.9/gmedia/legends/marker_unknown_legend.png", "legend_height": 16, "legend_width": 16}}], "options2": {"typename": "onezeroninesingleyellowline", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"strokeWidth\": 3, \"title\": \"Single Yellow Line\", \"fillColor\": \"#FFFF00\", \"strokeDashstyle\": \"solid\", \"strokeColor\": \"#FFFF00\", \"fillOpacity\": 1.0})", "buffer": 0, "extractAttributes": true, "minScale": 3690, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}, {"typeId": 110, "name": "Pay and Display/Metre", "featuretypes": [{"styles": [{"strokeWidth": 3, "title": "Pay and Display/Metre", "fillColor": "#9900FF", "strokeDashstyle": "solid", "strokeColor": "#9900FF", "fillOpacity": 1.0}], "style": {}, "typename": "oneonezeropayanddisplaymetre", "template": "<h4>{if defined('name')}${name}{else}Pay and Display{/if}</h4>\r\n{if defined('description')}\r\n<p>${description}</p>\r\n{/if}", "geo_type": "LINESTRING", "legend": {"legend": "http://172.25.81.9/gmedia/legends/marker_unknown_legend.png", "legend_height": 16, "legend_width": 16}}], "options2": {"typename": "oneonezeropayanddisplaymetre", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"strokeWidth\": 3, \"title\": \"Pay and Display/Metre\", \"fillColor\": \"#9900FF\", \"strokeDashstyle\": \"solid\", \"strokeColor\": \"#9900FF\", \"fillOpacity\": 1.0})", "buffer": 0, "extractAttributes": true, "minScale": 3690, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}, {"typeId": 95, "name": "Petrol Station", "featuretypes": [{"styles": [{"backgroundGraphicZIndex": 10, "graphicHeight": 29, "backgroundWidth": 37, "graphicYOffset": -29, "graphicXOffset": -12, "backgroundXOffset": -4, "backgroundOpacity": 1, "label": "", "graphicOpacity": 1, "title": "Petrol Station", "graphicZIndex": 11, "backgroundGraphic": "http://static.media.thepieguide.com/symbols/icon_shadow.png", "graphicWidth": 25, "backgroundYOffset": -26, "externalGraphic": "http://static.media.thepieguide.com/symbols/petrolstation__.png", "backgroundHeight": 30}], "style": {}, "typename": "ninefivepetrolstation", "template": "<h4>${name}</h4>\r\n\r\n{if defined('address_1')}\r\n<p>\r\n\t${address_1}\r\n\t{if defined('address_2')}\r\n\t\t<br /> ${address_2}\r\n\t{/if}\r\n\t{if defined('address_3')}\r\n\t\t<br /> ${address_3}\r\n\t{/if}\r\n\t{if defined('address_4')}\r\n\t\t<br /> ${address_4}\r\n\t{/if}\r\n\t{if defined('address_city')}\r\n\t\t<br /> ${address_city}\r\n\t{/if}\r\n\t{if defined('address_county')}\r\n\t\t<br /> ${address_county}\r\n\t{/if}\r\n\t{if defined('address_postcode')}\r\n\t\t<br /> ${address_postcode}\r\n\t{/if}\r\n</p>\r\n{/if}\r\n\r\n{if defined('phone')}\r\n<p>Tel: ${phone}</p>\r\n{/if}\r\n\r\n{if defined('twentyfour_hours') \r\n || defined('public_toilet') ||defined('cash_machine')}\r\n \r\n<table>\r\n<tbody>\r\n\t\r\n\t\r\n\t{if defined('twentyfour_hours')}\r\n\t<tr>\r\n\t\t<th>24hr opening</th>\r\n\t\t<td>\r\n\t\t\t{if twentyfour_hours}\r\n\t\t\t\tYes\r\n\t\t\t{else}\r\n\t\t\t\tNo\r\n\t\t\t{/if}\r\n\t\t</td>\r\n\t</tr>\t\t\r\n\t{/if}\r\n\t\r\n\t\r\n\t{if defined('public_toilet')}\r\n\t<tr>\r\n\t\t<th>Public toilet</th>\r\n\t\t<td>\r\n\t\t\t{if public_toilet}\r\n\t\t\t\tYes\r\n\t\t\t{else}\r\n\t\t\t\tNo\r\n\t\t\t{/if}\r\n\t\t</td>\r\n\t</tr>\t\t\r\n\t{/if}\r\n\t\r\n\t\t\r\n\t{if defined('cash_machine')}\r\n\t<tr>\r\n\t\t<th>Cash machine</th>\r\n\t\t<td>\r\n\t\t\t{if cash_machine}\r\n\t\t\t\tYes\r\n\t\t\t{else}\r\n\t\t\t\tNo\r\n\t\t\t{/if}\r\n\t\t</td>\r\n\t</tr>\t\t\r\n\t{/if}\r\n\t\r\n\t\r\n</tbody>\r\n</table>\r\n{/if}", "geo_type": "POINT", "legend": {"legend": "http://static.media.thepieguide.com/legends/sym_petrolstation_grey.png", "legend_height": 13, "legend_width": 18}}], "options2": {"typename": "ninefivepetrolstation", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"backgroundGraphicZIndex\": 10, \"graphicHeight\": 29, \"backgroundWidth\": 37, \"graphicYOffset\": -29, \"graphicXOffset\": -12, \"backgroundXOffset\": -4, \"backgroundOpacity\": 1, \"label\": \"\", \"graphicOpacity\": 1, \"title\": \"Petrol Station\", \"graphicZIndex\": 11, \"backgroundGraphic\": \"http://static.media.thepieguide.com/symbols/icon_shadow.png\", \"graphicWidth\": 25, \"backgroundYOffset\": -26, \"externalGraphic\": \"http://static.media.thepieguide.com/symbols/petrolstation__.png\", \"backgroundHeight\": 30})", "buffer": 0, "extractAttributes": true, "minScale": null, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}, {"typeId": 96, "name": "Car Park", "featuretypes": [{"styles": [{"graphicHeight": 29, "graphicYOffset": -12.0, "graphicXOffset": -14.0, "graphicWidth": 25, "title": "Car Park", "externalGraphic": "http://static.media.thepieguide.com/symbols/carpark.png", "graphicZIndex": 11, "graphicOpacity": 1, "label": ""}], "style": {}, "typename": "ninesixcarparksmb", "template": "{var types = []}\r\n{eval}\r\n\ttypes['PD'] = 'Pay & Display';\r\n\ttypes['S'] = 'Surface';\r\n\ttypes['L'] = 'Lift';\r\n\ttypes['LS'] = 'Long Stay';\r\n\ttypes['SS'] = 'Short Stay';\r\n\ttypes['R'] = 'Rooftop';\r\n\ttypes['UG'] = 'Underground';\r\n\ttypes['BC'] = 'Barrier Control';\r\n\ttypes['MS'] = 'Multi-Storey';\r\n{/eval}\r\n\r\n<h4>\r\n{if defined('name')}\r\n\t${name}\r\n{else}\r\n\tCar Park\r\n{/if}\r\n</h4>\r\n\r\n{if defined('description')}\r\n\t<p>${description}</p>\r\n{/if}\r\n\r\n{if defined('address_1')}\r\n<p>\r\n\t${address_1}\r\n\t{if defined('address_2')}\r\n\t\t<br/> ${address_2}\r\n\t{/if}\r\n\t{if defined('address_3')}\r\n\t\t<br /> ${address_3}\r\n\t{/if}\r\n\t{if defined('address_4')}\r\n\t\t<br /> ${address_4}\r\n\t{/if}\r\n\t{if defined('address_city')}\r\n\t\t<br /> ${address_city}\r\n\t{/if}\r\n\t{if defined('address_county')}\r\n\t\t<br /> ${address_county}\r\n\t{/if}\r\n\t{if defined('address_postcode')}\r\n\t\t<br /> ${address_postcode}\r\n\t{/if}\r\n</p>\r\n{/if}\r\n\r\n{if defined('phone')}\r\n\t<p>Phone Number: ${phone}</p>\r\n{/if}\r\n\r\n{if defined('monday_opening') || defined('monday_closing')\r\n\t|| defined('saturday_restrictions_from') || defined('saturday_restrictions_to')\r\n\t|| defined('sunday_restrictions_from') || defined('sunday_restrictions_to')\r\n\t|| defined('restrictions') || defined('weekend_restrictions')\r\n\t|| defined('congestion_charge_point') || defined('public_toilet')\r\n\t|| defined('baby_change_facilities') || defined('type') || defined('height_restriction') } \r\n\r\n\t<table>\r\n\t<tbody>\r\n    \t{if defined('monday_opening') && defined('monday_closing')}\r\n        <tr>\r\n            <th>Weekday Opening</th>\r\n            <td>${monday_opening} - ${monday_closing}</td>\r\n        </tr>\t\t\r\n\t\t{/if}\r\n        \r\n        {if defined('saturday_restrictions_from') && defined('saturday_restrictions_to')}\r\n        <tr>\r\n            <th>Saturday Restrictions</th>\r\n            <td>${saturday_restrictions_from} - ${saturday_restrictions_to}</td>\r\n        </tr>\t\t\r\n        {/if}\r\n        \r\n        {if defined('sunday_restrictions_from') && defined('sunday_restrictions_to')}\r\n        <tr>\r\n            <th>Sunday Opening</th>\r\n            <td>${sunday_restrictions_from} - ${sunday_restrictions_to}</td>\r\n        </tr>\t\t\r\n        {/if}\r\n        \r\n        {if defined('restrictions')}\r\n        <tr>    \r\n            <th>Restrictions</th>\r\n            <td>${restrictions}</td>\r\n        </tr>\t\t\r\n        {/if}\r\n        \r\n        {if defined('weekend_restrictions')}\r\n        <tr>\r\n            <th>Weekend restrictions</th>\r\n            <td>${weekend_restrictions}</td>\r\n        </tr>\t\t\r\n        {/if}\r\n    \r\n        {if defined('congestion_charge_point')}\r\n\t\t<tr>\r\n\t\t    <th>Congestion Charge Point</th>\r\n\t\t\t<td>\r\n\t\t\t    {if congestion_charge_point}\r\n\t\t\t\t\tYes\r\n\t\t\t\t{else}\r\n\t\t\t\t\tNo\r\n\t\t\t\t{/if}\r\n\t\t\t</td>\r\n\t\t</tr>\t\t\r\n\t\t{/if}\r\n\t\t\r\n\t\t{if defined('public_toilet')}\r\n\t\t<tr>\r\n\t\t\t<th>Public Toilet</th>\r\n\t\t\t<td>\r\n\t\t\t\t{if public_toilet}\r\n\t\t\t\t \tYes \r\n\t\t\t\t{else} \r\n\t\t\t\t\tNo \r\n\t\t\t\t{/if}\r\n\t\t\t</td>\r\n\t\t</tr>\t\t\r\n\t\t{/if}\r\n\t\t\r\n\t\t{if defined('baby_change_facilities')}\r\n        <tr>\r\n            <th>Baby Change Facilities</th>\r\n            <td>\r\n                {if baby_change_facilities}\r\n            \t    Yes \r\n                {else} \r\n                \tNo \r\n                {/if}\r\n            </td>\r\n        </tr>\t\t\r\n        {/if}\r\n        \r\n        {if defined('type')}\r\n        <tr>\r\n            <th>Type</th>\r\n            <td>${types[type]}</td>\r\n        </tr>\t\t\r\n        {/if}\r\n        \r\n        {if defined('height_restriction')}\r\n        <tr>\r\n            <th>Height Restriction</th>\r\n            <td>${height_restriction} m</td>\r\n        </tr>\t\t\r\n        {/if}\r\n\t</tbody>\r\n    </table>\r\n{/if}", "geo_type": "POINT", "legend": {"legend": "http://static.media.thepieguide.com/legends/sym_parking.png", "legend_height": 13, "legend_width": 18}}], "options2": {"typename": "ninesixcarparksmb", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"graphicHeight\": 29, \"graphicYOffset\": -12.0, \"graphicXOffset\": -14.0, \"graphicWidth\": 25, \"title\": \"Car Park\", \"externalGraphic\": \"http://static.media.thepieguide.com/symbols/carpark.png\", \"graphicZIndex\": 11, \"graphicOpacity\": 1, \"label\": \"\"})", "buffer": 0, "extractAttributes": true, "minScale": null, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}], "initial_visibility": false, "title": "With my car", "inactive_icon": "http://static.media.thepieguide.com/layer_img/car.png", "active_icon": "http://static.media.thepieguide.com/layer_img/car_blue.png", "id": 44}, {"features": [{"typeId": 108, "name": "Landmark", "featuretypes": [{"styles": [{"strokeWidth": 1, "title": "Landmark", "fillColor": "#0000FF", "strokeDashstyle": "solid", "strokeColor": "#0000FF", "fillOpacity": 0.5}], "style": {}, "typename": "onezeroeightlandmark", "template": "<h4>${name}</h4>", "geo_type": "POLYGON", "legend": {"legend": "http://172.25.81.9/gmedia/legends/marker_unknown_legend.png", "legend_height": 16, "legend_width": 16}}], "options2": {"typename": "onezeroeightlandmark", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"strokeWidth\": 1, \"title\": \"Landmark\", \"fillColor\": \"#0000FF\", \"strokeDashstyle\": \"solid\", \"strokeColor\": \"#0000FF\", \"fillOpacity\": 0.5})", "buffer": 0, "extractAttributes": true, "minScale": null, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}, {"typeId": 111, "name": "Bus Stop", "featuretypes": [{"styles": [{"graphicHeight": 29, "graphicYOffset": -12.0, "graphicXOffset": -14.0, "graphicWidth": 25, "title": "Bus Stop", "externalGraphic": "http://static.media.thepieguide.com/symbols/busstop___.png", "graphicZIndex": 11, "graphicOpacity": 1, "label": ""}], "style": {}, "typename": "oneoneonebusstop", "template": "<h4>\r\n\tBus stop\r\n\t{if defined('letter')} ${letter} {/if}\r\n</h4>\r\n\r\n{if defined('site_name') || defined('routes') || defined('direction')}\r\n\r\n<table>\r\n<tbody>\r\n\t{if defined('site_name')}\r\n\t\t<tr>\r\n\t\t\t<th>Site name</th>\r\n\t\t\t<td>${site_name}</td>\r\n\t\t</tr>\t\t\r\n\t{/if}\r\n\t\r\n\t{if defined('routes')}\r\n\t\t<tr>\r\n\t\t\t<th>Routes stopping</th>\r\n\t\t\t<td>${routes}</td>\r\n\t\t</tr>\t\t\r\n\t{/if}\t\r\n  {if defined('direction')}\r\n    <tr><th>Direction</th><td>${direction}</td></tr>\r\n  {/if}\r\n\r\n</tbody>\t\r\n</table>\r\n\r\n{else}\r\n\r\n<p>No information available.</p>\r\n\r\n{/if}\r\n", "geo_type": "POINT", "legend": {"legend": "http://static.media.thepieguide.com/legends/sym_bus_.png", "legend_height": 13, "legend_width": 18}}], "options2": {"typename": "oneoneonebusstop", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"graphicHeight\": 29, \"graphicYOffset\": -12.0, \"graphicXOffset\": -14.0, \"graphicWidth\": 25, \"title\": \"Bus Stop\", \"externalGraphic\": \"http://static.media.thepieguide.com/symbols/busstop___.png\", \"graphicZIndex\": 11, \"graphicOpacity\": 1, \"label\": \"\"})", "buffer": 0, "extractAttributes": true, "minScale": null, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}], "initial_visibility": false, "title": "On the Buses", "inactive_icon": "http://static.media.thepieguide.com/layer_img/bus.png", "active_icon": "http://static.media.thepieguide.com/layer_img/bus_blue.png", "id": 48}, {"features": [{"typeId": 108, "name": "Landmark", "featuretypes": [{"styles": [{"strokeWidth": 1, "title": "Landmark", "fillColor": "#0000FF", "strokeDashstyle": "solid", "strokeColor": "#0000FF", "fillOpacity": 0.5}], "style": {}, "typename": "onezeroeightlandmark", "template": "<h4>${name}</h4>", "geo_type": "POLYGON", "legend": {"legend": "http://172.25.81.9/gmedia/legends/marker_unknown_legend.png", "legend_height": 16, "legend_width": 16}}], "options2": {"typename": "onezeroeightlandmark", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"strokeWidth\": 1, \"title\": \"Landmark\", \"fillColor\": \"#0000FF\", \"strokeDashstyle\": \"solid\", \"strokeColor\": \"#0000FF\", \"fillOpacity\": 0.5})", "buffer": 0, "extractAttributes": true, "minScale": null, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}, {"typeId": 107, "name": "Restricted Access Road", "featuretypes": [{"styles": [{"strokeWidth": 1, "title": "Restricted Access Road", "fillColor": "#000000", "strokeDashstyle": "solid", "strokeColor": "#000000", "fillOpacity": 0.5}], "style": {}, "typename": "onezerosevenrestrictedaccessroad", "template": "<h4>Restricted road</h4>", "geo_type": "POLYGON", "legend": {"legend": "http://172.25.81.9/gmedia/legends/marker_unknown_legend.png", "legend_height": 16, "legend_width": 16}}], "options2": {"typename": "onezerosevenrestrictedaccessroad", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"strokeWidth\": 1, \"title\": \"Restricted Access Road\", \"fillColor\": \"#000000\", \"strokeDashstyle\": \"solid\", \"strokeColor\": \"#000000\", \"fillOpacity\": 0.5})", "buffer": 0, "extractAttributes": true, "minScale": null, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}, {"typeId": 110, "name": "Pay and Display/Metre", "featuretypes": [{"styles": [{"strokeWidth": 3, "title": "Pay and Display/Metre", "fillColor": "#9900FF", "strokeDashstyle": "solid", "strokeColor": "#9900FF", "fillOpacity": 1.0}], "style": {}, "typename": "oneonezeropayanddisplaymetre", "template": "<h4>{if defined('name')}${name}{else}Pay and Display{/if}</h4>\r\n{if defined('description')}\r\n<p>${description}</p>\r\n{/if}", "geo_type": "LINESTRING", "legend": {"legend": "http://172.25.81.9/gmedia/legends/marker_unknown_legend.png", "legend_height": 16, "legend_width": 16}}], "options2": {"typename": "oneonezeropayanddisplaymetre", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"strokeWidth\": 3, \"title\": \"Pay and Display/Metre\", \"fillColor\": \"#9900FF\", \"strokeDashstyle\": \"solid\", \"strokeColor\": \"#9900FF\", \"fillOpacity\": 1.0})", "buffer": 0, "extractAttributes": true, "minScale": 3690, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}, {"typeId": 112, "name": "Red Route Box Bay", "featuretypes": [{"styles": [{"graphicHeight": 29, "graphicYOffset": -12.0, "graphicXOffset": -14.0, "graphicWidth": 25, "title": "Red Route Box Bay", "externalGraphic": "http://static.media.thepieguide.com/symbols/redroute_box_bay.png", "graphicZIndex": 11, "graphicOpacity": 1, "label": ""}], "style": {}, "typename": "oneonetworedrouteboxbay", "template": "<h4>Red Route box bay</h4>\r\n\r\n{if defined('street_name') || defined('number_of_bays') || defined('description')}\r\n\r\n<table>\r\n\r\n\t{if defined('street_name')}\r\n\t\t<tr>\r\n\t\t\t<th>Street name</th>\r\n\t\t\t<td>${street_name}</td>\r\n\t\t</tr>\t\t\r\n\t{/if}\r\n\t\r\n\t{if defined('number_of_bays')}\r\n\t\t<tr>\r\n\t\t\t<th>Number of bays</th>\r\n\t\t\t<td>${number_of_bays}</td>\r\n\t\t</tr>\t\t\r\n\t{/if}\r\n\t\r\n\t{if defined('description')}\r\n\t\t<tr>\r\n\t\t\t<th>Description</th>\r\n\t\t\t<td>${description}</td>\r\n\t\t</tr>\t\t\r\n\t{/if}\r\n\t\r\n</table>\r\n\r\n{else}\r\n\r\n<p>No information available.</p>\r\n\r\n{/if}", "geo_type": "POINT", "legend": {"legend": "http://static.media.thepieguide.com/legends/sym_redroute_box_bay.png", "legend_height": 13, "legend_width": 18}}], "options2": {"typename": "oneonetworedrouteboxbay", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"graphicHeight\": 29, \"graphicYOffset\": -12.0, \"graphicXOffset\": -14.0, \"graphicWidth\": 25, \"title\": \"Red Route Box Bay\", \"externalGraphic\": \"http://static.media.thepieguide.com/symbols/redroute_box_bay.png\", \"graphicZIndex\": 11, \"graphicOpacity\": 1, \"label\": \"\"})", "buffer": 0, "extractAttributes": true, "minScale": null, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}, {"typeId": 95, "name": "Petrol Station", "featuretypes": [{"styles": [{"backgroundGraphicZIndex": 10, "graphicHeight": 29, "backgroundWidth": 37, "graphicYOffset": -29, "graphicXOffset": -12, "backgroundXOffset": -4, "backgroundOpacity": 1, "label": "", "graphicOpacity": 1, "title": "Petrol Station", "graphicZIndex": 11, "backgroundGraphic": "http://static.media.thepieguide.com/symbols/icon_shadow.png", "graphicWidth": 25, "backgroundYOffset": -26, "externalGraphic": "http://static.media.thepieguide.com/symbols/petrolstation__.png", "backgroundHeight": 30}], "style": {}, "typename": "ninefivepetrolstation", "template": "<h4>${name}</h4>\r\n\r\n{if defined('address_1')}\r\n<p>\r\n\t${address_1}\r\n\t{if defined('address_2')}\r\n\t\t<br /> ${address_2}\r\n\t{/if}\r\n\t{if defined('address_3')}\r\n\t\t<br /> ${address_3}\r\n\t{/if}\r\n\t{if defined('address_4')}\r\n\t\t<br /> ${address_4}\r\n\t{/if}\r\n\t{if defined('address_city')}\r\n\t\t<br /> ${address_city}\r\n\t{/if}\r\n\t{if defined('address_county')}\r\n\t\t<br /> ${address_county}\r\n\t{/if}\r\n\t{if defined('address_postcode')}\r\n\t\t<br /> ${address_postcode}\r\n\t{/if}\r\n</p>\r\n{/if}\r\n\r\n{if defined('phone')}\r\n<p>Tel: ${phone}</p>\r\n{/if}\r\n\r\n{if defined('twentyfour_hours') \r\n || defined('public_toilet') ||defined('cash_machine')}\r\n \r\n<table>\r\n<tbody>\r\n\t\r\n\t\r\n\t{if defined('twentyfour_hours')}\r\n\t<tr>\r\n\t\t<th>24hr opening</th>\r\n\t\t<td>\r\n\t\t\t{if twentyfour_hours}\r\n\t\t\t\tYes\r\n\t\t\t{else}\r\n\t\t\t\tNo\r\n\t\t\t{/if}\r\n\t\t</td>\r\n\t</tr>\t\t\r\n\t{/if}\r\n\t\r\n\t\r\n\t{if defined('public_toilet')}\r\n\t<tr>\r\n\t\t<th>Public toilet</th>\r\n\t\t<td>\r\n\t\t\t{if public_toilet}\r\n\t\t\t\tYes\r\n\t\t\t{else}\r\n\t\t\t\tNo\r\n\t\t\t{/if}\r\n\t\t</td>\r\n\t</tr>\t\t\r\n\t{/if}\r\n\t\r\n\t\t\r\n\t{if defined('cash_machine')}\r\n\t<tr>\r\n\t\t<th>Cash machine</th>\r\n\t\t<td>\r\n\t\t\t{if cash_machine}\r\n\t\t\t\tYes\r\n\t\t\t{else}\r\n\t\t\t\tNo\r\n\t\t\t{/if}\r\n\t\t</td>\r\n\t</tr>\t\t\r\n\t{/if}\r\n\t\r\n\t\r\n</tbody>\r\n</table>\r\n{/if}", "geo_type": "POINT", "legend": {"legend": "http://static.media.thepieguide.com/legends/sym_petrolstation_grey.png", "legend_height": 13, "legend_width": 18}}], "options2": {"typename": "ninefivepetrolstation", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"backgroundGraphicZIndex\": 10, \"graphicHeight\": 29, \"backgroundWidth\": 37, \"graphicYOffset\": -29, \"graphicXOffset\": -12, \"backgroundXOffset\": -4, \"backgroundOpacity\": 1, \"label\": \"\", \"graphicOpacity\": 1, \"title\": \"Petrol Station\", \"graphicZIndex\": 11, \"backgroundGraphic\": \"http://static.media.thepieguide.com/symbols/icon_shadow.png\", \"graphicWidth\": 25, \"backgroundYOffset\": -26, \"externalGraphic\": \"http://static.media.thepieguide.com/symbols/petrolstation__.png\", \"backgroundHeight\": 30})", "buffer": 0, "extractAttributes": true, "minScale": null, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}, {"typeId": 96, "name": "Car Park", "featuretypes": [{"styles": [{"graphicHeight": 29, "graphicYOffset": -12.0, "graphicXOffset": -14.0, "graphicWidth": 25, "title": "Car Park", "externalGraphic": "http://static.media.thepieguide.com/symbols/carpark.png", "graphicZIndex": 11, "graphicOpacity": 1, "label": ""}], "style": {}, "typename": "ninesixcarparksmb", "template": "{var types = []}\r\n{eval}\r\n\ttypes['PD'] = 'Pay & Display';\r\n\ttypes['S'] = 'Surface';\r\n\ttypes['L'] = 'Lift';\r\n\ttypes['LS'] = 'Long Stay';\r\n\ttypes['SS'] = 'Short Stay';\r\n\ttypes['R'] = 'Rooftop';\r\n\ttypes['UG'] = 'Underground';\r\n\ttypes['BC'] = 'Barrier Control';\r\n\ttypes['MS'] = 'Multi-Storey';\r\n{/eval}\r\n\r\n<h4>\r\n{if defined('name')}\r\n\t${name}\r\n{else}\r\n\tCar Park\r\n{/if}\r\n</h4>\r\n\r\n{if defined('description')}\r\n\t<p>${description}</p>\r\n{/if}\r\n\r\n{if defined('address_1')}\r\n<p>\r\n\t${address_1}\r\n\t{if defined('address_2')}\r\n\t\t<br/> ${address_2}\r\n\t{/if}\r\n\t{if defined('address_3')}\r\n\t\t<br /> ${address_3}\r\n\t{/if}\r\n\t{if defined('address_4')}\r\n\t\t<br /> ${address_4}\r\n\t{/if}\r\n\t{if defined('address_city')}\r\n\t\t<br /> ${address_city}\r\n\t{/if}\r\n\t{if defined('address_county')}\r\n\t\t<br /> ${address_county}\r\n\t{/if}\r\n\t{if defined('address_postcode')}\r\n\t\t<br /> ${address_postcode}\r\n\t{/if}\r\n</p>\r\n{/if}\r\n\r\n{if defined('phone')}\r\n\t<p>Phone Number: ${phone}</p>\r\n{/if}\r\n\r\n{if defined('monday_opening') || defined('monday_closing')\r\n\t|| defined('saturday_restrictions_from') || defined('saturday_restrictions_to')\r\n\t|| defined('sunday_restrictions_from') || defined('sunday_restrictions_to')\r\n\t|| defined('restrictions') || defined('weekend_restrictions')\r\n\t|| defined('congestion_charge_point') || defined('public_toilet')\r\n\t|| defined('baby_change_facilities') || defined('type') || defined('height_restriction') } \r\n\r\n\t<table>\r\n\t<tbody>\r\n    \t{if defined('monday_opening') && defined('monday_closing')}\r\n        <tr>\r\n            <th>Weekday Opening</th>\r\n            <td>${monday_opening} - ${monday_closing}</td>\r\n        </tr>\t\t\r\n\t\t{/if}\r\n        \r\n        {if defined('saturday_restrictions_from') && defined('saturday_restrictions_to')}\r\n        <tr>\r\n            <th>Saturday Restrictions</th>\r\n            <td>${saturday_restrictions_from} - ${saturday_restrictions_to}</td>\r\n        </tr>\t\t\r\n        {/if}\r\n        \r\n        {if defined('sunday_restrictions_from') && defined('sunday_restrictions_to')}\r\n        <tr>\r\n            <th>Sunday Opening</th>\r\n            <td>${sunday_restrictions_from} - ${sunday_restrictions_to}</td>\r\n        </tr>\t\t\r\n        {/if}\r\n        \r\n        {if defined('restrictions')}\r\n        <tr>    \r\n            <th>Restrictions</th>\r\n            <td>${restrictions}</td>\r\n        </tr>\t\t\r\n        {/if}\r\n        \r\n        {if defined('weekend_restrictions')}\r\n        <tr>\r\n            <th>Weekend restrictions</th>\r\n            <td>${weekend_restrictions}</td>\r\n        </tr>\t\t\r\n        {/if}\r\n    \r\n        {if defined('congestion_charge_point')}\r\n\t\t<tr>\r\n\t\t    <th>Congestion Charge Point</th>\r\n\t\t\t<td>\r\n\t\t\t    {if congestion_charge_point}\r\n\t\t\t\t\tYes\r\n\t\t\t\t{else}\r\n\t\t\t\t\tNo\r\n\t\t\t\t{/if}\r\n\t\t\t</td>\r\n\t\t</tr>\t\t\r\n\t\t{/if}\r\n\t\t\r\n\t\t{if defined('public_toilet')}\r\n\t\t<tr>\r\n\t\t\t<th>Public Toilet</th>\r\n\t\t\t<td>\r\n\t\t\t\t{if public_toilet}\r\n\t\t\t\t \tYes \r\n\t\t\t\t{else} \r\n\t\t\t\t\tNo \r\n\t\t\t\t{/if}\r\n\t\t\t</td>\r\n\t\t</tr>\t\t\r\n\t\t{/if}\r\n\t\t\r\n\t\t{if defined('baby_change_facilities')}\r\n        <tr>\r\n            <th>Baby Change Facilities</th>\r\n            <td>\r\n                {if baby_change_facilities}\r\n            \t    Yes \r\n                {else} \r\n                \tNo \r\n                {/if}\r\n            </td>\r\n        </tr>\t\t\r\n        {/if}\r\n        \r\n        {if defined('type')}\r\n        <tr>\r\n            <th>Type</th>\r\n            <td>${types[type]}</td>\r\n        </tr>\t\t\r\n        {/if}\r\n        \r\n        {if defined('height_restriction')}\r\n        <tr>\r\n            <th>Height Restriction</th>\r\n            <td>${height_restriction} m</td>\r\n        </tr>\t\t\r\n        {/if}\r\n\t</tbody>\r\n    </table>\r\n{/if}", "geo_type": "POINT", "legend": {"legend": "http://static.media.thepieguide.com/legends/sym_parking.png", "legend_height": 13, "legend_width": 18}}], "options2": {"typename": "ninesixcarparksmb", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"graphicHeight\": 29, \"graphicYOffset\": -12.0, \"graphicXOffset\": -14.0, \"graphicWidth\": 25, \"title\": \"Car Park\", \"externalGraphic\": \"http://static.media.thepieguide.com/symbols/carpark.png\", \"graphicZIndex\": 11, \"graphicOpacity\": 1, \"label\": \"\"})", "buffer": 0, "extractAttributes": true, "minScale": null, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}, {"typeId": 119, "name": "Blue Badge Bay", "featuretypes": [{"styles": [{"graphicHeight": 29, "graphicYOffset": -12.0, "graphicXOffset": -14.0, "graphicWidth": 25, "title": "Blue Badge Bay", "externalGraphic": "http://static.media.thepieguide.com/symbols/bluebadge____.png", "graphicZIndex": 11, "graphicOpacity": 1, "label": ""}], "style": {}, "typename": "oneoneninebluebadgebay", "template": "<h4>Blue Badge parking bay</h4>\r\n\r\n{if defined('street_name') || defined('no_bays') || defined('max_stay')\r\n || defined('permit_required') || defined('restrictions')}\r\n\t\r\n\t<table>\r\n\t\t{if defined('street_name')}\r\n\t\t<tr>\r\n\t\t\t<th>Street name</th>\r\n\t\t\t<td>${street_name}</td>\r\n\t\t</tr>\t\t\r\n\t\t{/if}\r\n\t\t\r\n\t\t{if defined('no_bays')}\r\n\t\t<tr>\r\n\t\t\t<th>Number of bays</th>\r\n\t\t\t<td>${no_bays}</td>\r\n\t\t</tr>\t\t\r\n\t\t{/if}\r\n\t\t\r\n\t\t{if defined('max_stay')}\r\n\t\t<tr>\r\n\t\t\t<th>Max stay</th>\r\n\t\t\t<td>\r\n\t\t\t\t{if max_stay == 24}\r\n\t\t\t\t\tunlimited\r\n\t\t\t\t{elseif max_stay == 99}\r\n\t\t\t\t\tcheck local limits\r\n\t\t\t\t{else}\r\n\t\t\t\t\t${max_stay} hours\r\n\t\t\t\t{/if}\r\n\t\t\t</td>\r\n\t\t</tr>\t\t\r\n\t\t{/if}\r\n\t\t\r\n\t\t{if defined('permit_required')}\r\n\t\t<tr>\r\n\t\t\t<th>Permit required</th>\r\n\t\t\t<td>${permit_required}</td>\r\n\t\t</tr>\t\t\r\n\t\t{/if}\r\n\t\t\r\n\t\t{if defined('restrictions')}\r\n\t\t<tr>\r\n\t\t\t<th>Restrictions</th>\r\n\t\t\t<td>${restrictions}</td>\r\n\t\t</tr>\t\t\r\n\t\t{/if}\r\n\t\t\r\n\t</table>\r\n\r\n{else}\r\n\r\n<p>No information available.</p>\r\n\r\n{/if}", "geo_type": "POINT", "legend": {"legend": "http://static.media.thepieguide.com/legends/sym_bluebadge.png", "legend_height": 13, "legend_width": 18}}], "options2": {"typename": "oneoneninebluebadgebay", "units": "m", "styleMap": "new OpenLayers.StyleMap({\"graphicHeight\": 29, \"graphicYOffset\": -12.0, \"graphicXOffset\": -14.0, \"graphicWidth\": 25, \"title\": \"Blue Badge Bay\", \"externalGraphic\": \"http://static.media.thepieguide.com/symbols/bluebadge____.png\", \"graphicZIndex\": 11, \"graphicOpacity\": 1, \"label\": \"\"})", "buffer": 0, "extractAttributes": true, "minScale": null, "maxScale": null, "visibility": false}, "ms_url": "/ms/mapfiles/wfs-6-royalhospitalchelsea.map", "options": {}}], "initial_visibility": false, "title": "Blue Badge Parking", "inactive_icon": "http://static.media.thepieguide.com/layer_img/disabled_.png", "active_icon": "http://static.media.thepieguide.com/layer_img/disabled_blue_.png", "id": 45}];