From 2c8d3a8da73a10ed998f0bb2bb42a6ddafbbb9ba Mon Sep 17 00:00:00 2001 From: Arvind Date: Fri, 4 Oct 2013 14:03:01 +0530 Subject: [PATCH] Fixing typo and trivial bug fix --- mouchak/static/js/views.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mouchak/static/js/views.js b/mouchak/static/js/views.js index a074137..055ae8b 100644 --- a/mouchak/static/js/views.js +++ b/mouchak/static/js/views.js @@ -126,7 +126,7 @@ L.tileLayer(this.model.get("tileLayer")).addTo(M.map); if(this.model.has("shp")){ $.getJSON(this.model.get("shp"), function(data){ - L.geoJSON(data); + L.geoJson(data).addTo(M.map); }); } } -- 1.7.10.4