diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-05-15 19:37:31 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-05-15 19:37:31 +0200 |
| commit | fc3d058bafe6fd844bf6cb1d0f874fbac56f9b17 (patch) | |
| tree | f6cca459ea5a5577817e410a16965271a0fe8cdb /ishtar_common/templates/ishtar/blocks/sheet_simple_map.html | |
| parent | cf1b29891bfd9b04db74ce1999530c9326c6cf0e (diff) | |
| download | Ishtar-fc3d058bafe6fd844bf6cb1d0f874fbac56f9b17.tar.bz2 Ishtar-fc3d058bafe6fd844bf6cb1d0f874fbac56f9b17.zip | |
Geo: fix display of precise polygons
Diffstat (limited to 'ishtar_common/templates/ishtar/blocks/sheet_simple_map.html')
| -rw-r--r-- | ishtar_common/templates/ishtar/blocks/sheet_simple_map.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/sheet_simple_map.html b/ishtar_common/templates/ishtar/blocks/sheet_simple_map.html index ca93d7956..d755fe531 100644 --- a/ishtar_common/templates/ishtar/blocks/sheet_simple_map.html +++ b/ishtar_common/templates/ishtar/blocks/sheet_simple_map.html @@ -8,7 +8,7 @@ <script type="text/javascript"> var html = render_map("map-{{window_id}}-{{geo_item.SLUG}}-{{geo_item.pk}}", false, true); $("#map-content-{{window_id}}-{{geo_item.SLUG}}-{{geo_item.pk}}").html(html); -{% if geo_item.point_source == 'P' or not geo_item.multi_polygon %} +{% if geo_item.most_precise_geo == 'point' %} var {{geo_item.SLUG}}{{geo_item.pk}} = {{geo_item.point_2d_geojson|safe}}; display_map("map-{{window_id}}-{{geo_item.SLUG}}-{{geo_item.pk}}", {{geo_item.SLUG}}{{geo_item.pk}}); {% else %} |
