8000 Add coordinates of mapbox view as a derived property in plotly_relayo… by jonmmease · Pull Request #4413 · plotly/plotly.js · GitHub
[go: up one dir, main page]

Skip to content

Add coordinates of mapbox view as a derived property in plotly_relayo… #4413

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Dec 9, 2019
Prev Previous commit
Don't add _derived to viewInitial
  • Loading branch information
jonmmease committed Dec 9, 2019
commit c0d6eeb3801117e4d88cb887d231c88f303605af
5 changes: 0 additions & 5 deletions src/plots/mapbox/mapbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ proto.createMap = function(calcData, fullLayout, resolve, reject) {
self.fillBelowLookup(calcData, fullLayout);
self.updateData(calcData);
self.updateLayout(fullLayout);
self.updateDerived();
self.resolveOnRender(resolve);
}).catch(reject);
};
Expand Down Expand Up @@ -368,10 +367,6 @@ proto.updateLayout = function(fullLayout) {
}
};

proto.updateDerived = function() {
this.viewInitial._derived = this.getView()._derived;
};

proto.resolveOnRender = function(resolve) {
var map = this.map;

Expand Down
0