Commit 1b8b5b74 authored by Christopher S Barnett's avatar Christopher S Barnett
Browse files

-add padding to fitbounds to avoid watermark and legend

parent d278b5a5
This diff is collapsed.
......@@ -319,7 +319,7 @@ ConnectionMap = function () {
//if (!_.isEmpty(selValue)) {
this.current_country_list = this.renderSourcesAndTargets(this.filtered_deals);
this.renderLinks();
this.map.fitBounds(this.transactionBounds);
this.map.fitBounds(this.transactionBounds, {paddingBottomRight: [0, 70]});
//} else {
//this.clearLinks();
//this.mapHome();
......
Markdown is supported
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