Fixing bug; Place did not show up on map
This commit is contained in:
@@ -18,13 +18,13 @@
|
||||
|
||||
var vectorSource = new ol.source.Vector({
|
||||
features: [
|
||||
{% for config.point in point_list %}
|
||||
{% for point in config.point_list %}
|
||||
new ol.Feature({
|
||||
geometry: new ol.geom.Point(
|
||||
ol.proj.fromLonLat([{{point.longitude}},{{point.latitude}}])
|
||||
),
|
||||
url: '{{point.get_absolute_url}}',
|
||||
name: '{{point.name}}'
|
||||
name: ' {{point.name}}'
|
||||
}),
|
||||
{% endfor %}
|
||||
]
|
||||
|
Reference in New Issue
Block a user