don't show point geometry in addition to the representative point

This commit is contained in:
Laura Klünder 2019-12-23 16:40:15 +01:00
parent 86b61816d2
commit 68b9c34640

View file

@ -1381,6 +1381,7 @@ c3nav = {
_location_geometry_loaded: function(data) {
if (c3nav._visible_map_locations.indexOf(data.id) === -1 || data.geometry === null || data.level === null) return;
if (data.geometry.type === "Point") return;
L.geoJSON(data.geometry, {
style: {
color: c3nav._primary_color,