Commit 2c8d3a8da73a10ed998f0bb2bb42a6ddafbbb9ba

  • avatar
  • arvind
  • Fri Oct 04 14:03:01 IST 2013
Fixing typo and trivial bug fix
  • Diff rendering mode:
  • inline
  • side by side

mouchak/static/js/views.js

126 L.tileLayer(this.model.get("tileLayer")).addTo(M.map);126 L.tileLayer(this.model.get("tileLayer")).addTo(M.map);
127 if(this.model.has("shp")){127 if(this.model.has("shp")){
128 $.getJSON(this.model.get("shp"), function(data){128 $.getJSON(this.model.get("shp"), function(data){
129 L.geoJSON(data);
129 L.geoJson(data).addTo(M.map);
130 });130 });
131 }131 }
132 }132 }