mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-06 20:18:25 -04:00
Merge pull request #3833 from alphagov/vary-bleed-by-population-density
Vary bleed amount based on population density
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
</li>
|
||||
<li class="area-list-key area-list-key--likely">
|
||||
<span class="visually-hidden">
|
||||
An extra area of {{ "{:,.1f}".format(broadcast_message.simple_polygons.bleed.estimated_area - broadcast_message.simple_polygons.estimated_area) }} square miles is
|
||||
An extra area of {{ "{:,.1f}".format(broadcast_message.simple_polygons_with_bleed.estimated_area - broadcast_message.simple_polygons.estimated_area) }} square miles is
|
||||
</span>
|
||||
Likely to get
|
||||
<span class="visually-hidden">
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<script>
|
||||
var polygons = []
|
||||
|
||||
{% for polygon in broadcast_message.simple_polygons.bleed.as_coordinate_pairs_lat_long %}
|
||||
{% for polygon in broadcast_message.simple_polygons_with_bleed.as_coordinate_pairs_lat_long %}
|
||||
polygons.push(
|
||||
L.polygon({{polygon}}, {
|
||||
opacity: 1,
|
||||
|
||||
Reference in New Issue
Block a user