From 11a2349fe645c4a445f621d483059e46ccd0af2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Fri, 16 Sep 2016 14:00:09 +0200 Subject: [PATCH] ungroup sources in map editor --- src/c3nav/editor/static/editor/js/map.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/c3nav/editor/static/editor/js/map.js b/src/c3nav/editor/static/editor/js/map.js index 1a7d098d..94c6e576 100644 --- a/src/c3nav/editor/static/editor/js/map.js +++ b/src/c3nav/editor/static/editor/js/map.js @@ -56,7 +56,6 @@ if ($('#mapeditor').length) { [Math.max(bounds[1][0], pkg.bounds[1][0]), Math.max(bounds[1][1], pkg.bounds[1][1])]]; } map.setMaxBounds(bounds); - console.log(bounds); map.fitBounds(bounds, {padding: [30, 50]}); $.getJSON('/api/v1/sources/', function(sources) { @@ -64,13 +63,9 @@ if ($('#mapeditor').length) { var source; for(var i=0;i