Remove unnecessary abstraction around rectangles
This commit is contained in:
parent
2a9286a16a
commit
7d84b81fd9
3 changed files with 11 additions and 14 deletions
|
@ -33,7 +33,12 @@ $(document).ready(function () {
|
|||
[params.maxlat, params.maxlon]);
|
||||
|
||||
map.fitBounds(bbox);
|
||||
addBoxToMap(bbox);
|
||||
|
||||
L.rectangle(bbox, {
|
||||
weight: 2,
|
||||
color: '#e90',
|
||||
fillOpacity: 0
|
||||
}).addTo(map);
|
||||
|
||||
$("#loading").hide();
|
||||
$("#browse_map .geolink").show();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue