Commit 93fc05e98a63dd67916f5e9364d87f8f07aa6b2f

  • avatar
  • arvind
  • Wed Oct 16 14:11:20 IST 2013
Hide summary till map comes
  • Diff rendering mode:
  • inline
  • side by side

mouchak/static/js/views.js

120 var template = _.template($("#map-template").html());120 var template = _.template($("#map-template").html());
121 $(el).append(template);121 $(el).append(template);
122 $("#map").hide();122 $("#map").hide();
123 $("#summaryData").hide();
123 var southWest = new L.LatLng(47.20, 4.04); //Logic to calculate the bounds for "world view".124 var southWest = new L.LatLng(47.20, 4.04); //Logic to calculate the bounds for "world view".
124 var northEast = new L.LatLng(55.10, 16.67);125 var northEast = new L.LatLng(55.10, 16.67);
125 var restrictBounds = new L.LatLngBounds(southWest, northEast);126 var restrictBounds = new L.LatLngBounds(southWest, northEast);