Skip to content
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

layout issue when resize the window. #56

Closed
martingg88 opened this issue Oct 15, 2015 · 2 comments
Closed

layout issue when resize the window. #56

martingg88 opened this issue Oct 15, 2015 · 2 comments

Comments

@martingg88
Copy link

i have tried to run the following function when resize window and it will screw up the map position accuracy after resize. i have noticed only change the height will cause this issue. only idea?

_performLayoutFrame: function(){
  this.height = window.clientHeight;
  this.width =  window.clientWidth;

this.refs.map_container.style.width= (this.width) + 'px';
this.refs.map_container.style.height = (this.height) + 'px';
},

@istarkov
Copy link
Collaborator

Please read this #44 (comment)
Or wait few days, I'll add refresh method to map

@martingg88
Copy link
Author

ok...thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants