|
1 |
| -{% extends "layouts/layout--full-width.html" %} |
2 |
| -{% set templateName = "dl-info/national-map.html" %} |
3 |
| - |
4 |
| -{%- from "components/map/macro.jinja" import map %} |
5 |
| - |
6 |
| -{% set containerClasses = 'dl-container--full-width' %} |
7 |
| -{% set fullWidthHeader = true %} |
8 |
| - |
9 |
| -{% set includesMap = true %} |
10 |
| -{% block pageTitle %}Map of planning data for England | Planning Data{% endblock %} |
11 |
| - |
12 |
| -{% |
13 |
| - set notePanel = '<p>Find, understand and download the <a href="/dataset" class="govuk-link">datasets used to create this map</a>.</p>' |
14 |
| -%} |
15 |
| - |
16 |
| -{%- block mapAssets %} |
17 |
| - <script src='/static/javascripts/maplibre-gl.js'></script> |
18 |
| - <link href='/static/stylesheets/maplibre-gl.css' rel='stylesheet' /> |
19 |
| - {{ super() }} |
20 |
| -{% endblock -%} |
21 |
| - |
22 |
| -{%- from "components/back-button/macro.jinja" import dlBackButton %} |
23 |
| -{% block breadcrumbs%} |
24 |
| - {{ dlBackButton({ |
25 |
| - "parentHref": '/' |
26 |
| - })}} |
27 |
| -{% endblock %} |
28 |
| - |
29 |
| -{% block content %} |
30 |
| - <div class="govuk-grid-row"> |
31 |
| - <div class="govuk-grid-column-full"> |
32 |
| - <h1 class="govuk-heading-xl govuk-!-margin-bottom-4">Map of planning data for England</h1> |
33 |
| - </div> |
| 1 | +{% extends "layouts/layout--full-width.html" %} {% set templateName = |
| 2 | +"dl-info/national-map.html" %} {%- from "components/map/macro.jinja" import map |
| 3 | +%} {% set containerClasses = 'dl-container--full-width' %} {% set |
| 4 | +fullWidthHeader = true %} {% set includesMap = true %} {% block pageTitle %}Map |
| 5 | +of planning data for England | Planning Data{% endblock %} {% set notePanel = ' |
| 6 | +<p> |
| 7 | + Find, understand and download the |
| 8 | + <a href="/dataset" class="govuk-link">datasets used to create this map</a>. |
| 9 | +</p> |
| 10 | +' %} {%- block mapAssets %} |
| 11 | +<script src="/static/javascripts/maplibre-gl.js"></script> |
| 12 | +<link href="/static/stylesheets/maplibre-gl.css" rel="stylesheet" /> |
| 13 | +{{ super() }} {% endblock -%} {%- from "components/back-button/macro.jinja" |
| 14 | +import dlBackButton %} {% block breadcrumbs%} {{ dlBackButton({ "parentHref": |
| 15 | +'/' })}} {% endblock %} {% block content %} |
| 16 | +<div class="govuk-grid-row"> |
| 17 | + <div class="govuk-grid-column-full"> |
| 18 | + <h1 class="govuk-heading-xl govuk-!-margin-bottom-4"> |
| 19 | + Map of planning data for England |
| 20 | + </h1> |
34 | 21 | </div>
|
| 22 | +</div> |
35 | 23 |
|
36 |
| - <p id="aria-label-national-map" class="govuk-body-l">See the data we've collected and collated on a map.</p> |
37 |
| - |
38 |
| - {{ |
39 |
| - map({ |
40 |
| - 'height': 700, |
41 |
| - 'layers': layers, |
42 |
| - 'DATASETTE_TILES_URL': settings.DATASETTE_TILES_URL, |
43 |
| - 'notePanel': notePanel, |
44 |
| - 'enableZoomControls': true, |
45 |
| - 'enableLayerControls': true, |
46 |
| - 'enableZoomCounter': true, |
47 |
| - }) |
48 |
| - }} |
49 |
| - |
50 |
| - <p class="govuk-body govuk-!-margin-bottom-0 govuk-!-width-two-thirds">This prototype map is automatically created using data from planning.data.gov.uk. Find out more <a href="/about">about the Planning Data Platform</a></p> |
51 |
| - |
52 |
| -{% endblock %} |
| 24 | +<p id="aria-label-national-map" class="govuk-body-l"> |
| 25 | + See the data we've collected and collated on a map. |
| 26 | +</p> |
53 | 27 |
|
54 |
| -{% block bodyEnd %} |
55 |
| -{{ super() }} |
| 28 | +{{ map({ 'height': 700, 'layers': layers, 'DATASETTE_TILES_URL': |
| 29 | +"https://www.development.digital-land.info", 'notePanel': notePanel, |
| 30 | +'enableZoomControls': true, 'enableLayerControls': true, 'enableZoomCounter': |
| 31 | +true, }) }} |
56 | 32 |
|
| 33 | +<p class="govuk-body govuk-!-margin-bottom-0 govuk-!-width-two-thirds"> |
| 34 | + This prototype map is automatically created using data from |
| 35 | + planning.data.gov.uk. Find out more |
| 36 | + <a href="/about">about the Planning Data Platform</a> |
| 37 | +</p> |
57 | 38 |
|
58 |
| -{% endblock %} |
| 39 | +{% endblock %} {% block bodyEnd %} {{ super() }} {% endblock %} |
0 commit comments