diff --git a/mapit/templates/mapit/postcode.html b/mapit/templates/mapit/postcode.html
index 7369216d..e798aaa4 100644
--- a/mapit/templates/mapit/postcode.html
+++ b/mapit/templates/mapit/postcode.html
@@ -13,7 +13,7 @@
{{ postcode.postcode }}
E/N: {{ postcode.easting }}, {{ postcode.northing }}
{% endif %}
{% if postcode.wgs84_lat or postcode.wgs84_lon %}
- {% trans "WGS84 lat/lon" %}: {{ postcode.wgs84_lat }}, {{ postcode.wgs84_lon }}
+ {% trans "WGS84 lat/lon" %}: {{ postcode.wgs84_lat|floatformat:-6 }}, {{ postcode.wgs84_lon|floatformat:-6 }}
{% else %}
{% blocktrans trimmed %}
No location information. Note this is a valid postcode (otherwise you would have got a 404), just one for which we don’t know the location.
@@ -36,7 +36,7 @@ {{ postcode.postcode }}
maxZoom: 18
});
- var point = new L.LatLng({{ postcode.wgs84_lat }}, {{ postcode.wgs84_lon }});
+ var point = new L.LatLng({{ postcode.wgs84_lat|floatformat:-6 }}, {{ postcode.wgs84_lon|floatformat:-6 }});
var marker = new L.Marker(point);
map.addLayer(marker);
map.setView(point, 14);