Fixed i18n to invalidate decimal geocoords.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
}),
|
||||
],
|
||||
view: new ol.View({
|
||||
center: ol.proj.fromLonLat([{{config.map_center.longitude}}, {{config.map_center.latitude}}]),
|
||||
center: ol.proj.fromLonLat([{{config.map_center.longitude|safe}}, {{config.map_center.latitude|safe}}]),
|
||||
zoom: 9
|
||||
})
|
||||
});
|
||||
@@ -21,7 +21,7 @@
|
||||
{% for point in config.all_points %}
|
||||
new ol.Feature({
|
||||
geometry: new ol.geom.Point(
|
||||
ol.proj.fromLonLat([{{point.longitude}},{{point.latitude}}])
|
||||
ol.proj.fromLonLat([{{point.longitude|safe}},{{point.latitude|safe}}])
|
||||
),
|
||||
url: '{{point.get_absolute_url}}',
|
||||
name: ' {{point.name}}'
|
||||
|
Reference in New Issue
Block a user