Commit Graph

13 Commits

Author SHA1 Message Date
Andreas Hocevar 0e2d17b9c6 Add padding option for View 2020-11-22 18:52:46 +01:00
Olivier Guyot 49662b019c View / add a constrainResolution option
This introduces a breaking change.

This options replaces the various `constrainResolution` options on interactions
and the `fit` method.

Since constraints are now the responsibility of the View, the fact that intermediary
zoom levels are allowed or not is now set in the view options.

By default, the view resolution is unconstrained.
2019-02-22 15:01:30 +01:00
Tim Schaub d3ff8d7fb0 More consistent markup 2015-11-18 10:06:35 -07:00
Tim Schaub d19bf0970b Rename strapless template 2015-11-18 09:56:15 -07:00
Tim Schaub b8cf2b213b Make the titles more like titles 2015-11-18 09:56:14 -07:00
Tim Schaub 734712bf9c Convert A-C examples to strapless template 2015-11-18 09:56:13 -07:00
Tim Schaub 0149924551 Update Metalsmith and layout plugin 2015-11-01 02:18:09 -07:00
vmalaret 74759142d9 Replace fitGeometry and fitExtent with fit
Fit accepts either a geometry or an extent.

This combines two previously distinct functions
into one more flexible call.

Also brings the rotations support and options
previously available to fitGeometry to extents
2015-07-02 15:19:08 +02:00
Tim Schaub 89f5e711e6 Example sources in the examples dir 2015-04-17 06:22:38 -06:00
Andreas Hocevar ff1ee78ddd Build and parse examples from examples_src/ 2015-04-02 19:10:09 +02:00
Frederic Junod 078ba2dec0 Move jquery.min.js to resources 2014-10-01 09:59:20 +02:00
Antoine Abt 1c8fc8358a Remove reference to ol-logo 2014-07-11 10:31:03 +02:00
Stéphane Brunner 9789b1c1e3 Add center example 2014-03-06 10:54:39 +01:00