Ensure that OverviewMap respects the initial rotation of attached Maps
This commit is contained in:
@@ -304,6 +304,8 @@ class OverviewMap extends Control {
|
||||
*/
|
||||
bindView_(view) {
|
||||
view.addEventListener(getChangeEventType(ViewProperty.ROTATION), this.boundHandleRotationChanged_);
|
||||
// Sync once with the new view
|
||||
this.handleRotationChanged_();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user