Fixing bug; Place did not show up on map
This commit is contained in:
parent
a1886b0b60
commit
b8dfef691e
@ -9,6 +9,7 @@ database.
|
||||
import os
|
||||
import uuid
|
||||
|
||||
from django.urls import reverse
|
||||
from django.db import models
|
||||
from django.contrib.auth.models import User
|
||||
from django.db.models.signals import post_save
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
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}}])
|
||||
|
Loading…
Reference in New Issue
Block a user