Commit 2c8d3a8da73a10ed998f0bb2bb42a6ddafbbb9ba
- 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 | 129 | L.geoJson(data).addTo(M.map); | |
130 | }); | 130 | }); |
131 | } | 131 | } |
132 | } | 132 | } |