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

[Openlayers3] map.getView(...).fitExtent is not a function #557

Open
mjagielski opened this issue Oct 29, 2016 · 1 comment
Open

[Openlayers3] map.getView(...).fitExtent is not a function #557

mjagielski opened this issue Oct 29, 2016 · 1 comment

Comments

@mjagielski
Copy link

I believe it should be just fit(), according to the docs:

Replace ol.View.fitExtent() and ol.View.fitGeometry() with ol.View.fit()

  • This combines two previously distinct functions into one more flexible call which takes either a geometry or an extent.
  • Rename all calls to fitExtent and fitGeometry to fit.
@martin-g
Copy link
Member

Pull Requests are welcome!
// cc @cmiles74

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