Commit d398e3dc authored by Jean-Marie Favreau's avatar Jean-Marie Favreau
Browse files

Zoom out from the intersection

parent 0a462f20
......@@ -281,7 +281,7 @@ Settings.render_crossroads = function(data, divID) {
layer.bindTooltip("Intersection #" + data[eid]["id"] + " " + msg);
window.crossroads_layers.push(layer);
if (element["type"] == "crossroad") {
registerBounds(data[eid]["id"], layer.getBounds());
registerBounds(data[eid]["id"], layer.getBounds().pad(1));
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment