Tim Schaub
3793f33acf
Handle minZoom in getZoom and setZoom
2014-05-16 04:56:42 -06:00
Tim Schaub
815f5b38c8
Accept resolution or zoom related options for constrained views
...
Any of minResolution, maxResolution, minZoom, or maxZoom can be used to constrain the view resolutions. Resolution options are given precedence over zoom options.
2014-05-15 17:31:55 -06:00
Tom Payne
82c4850f69
Don't compare floating point numbers for exact equality
2014-03-12 15:00:04 +01:00
Stéphane Brunner
015c660386
Add ol.View2D#centerOn
2014-03-06 10:54:15 +01:00
Stéphane Brunner
9984ca109c
Add ol.View2D#fitGeometry
2014-03-06 10:54:04 +01:00
Éric Lemoine
a10d142752
Add ol.View2D#getZoom
2013-07-09 09:30:45 +02:00
Éric Lemoine
e6efa741d2
More type checking for View2D
2013-07-04 09:13:31 +02:00
Éric Lemoine
778aec45d8
View2D option "numZoomLevels" changed to "maxZoom"
...
This is to be consistent with ol.source.XYZ and ol.tilegrid.XYZ.
2013-04-14 22:00:09 +02:00
Éric Lemoine
631afb07ab
Add value/resolution functions to View2D
2013-04-08 12:28:37 +02:00
Éric Lemoine
de1575e457
One direction pinch zoom
2013-03-27 11:52:42 +01:00
Tobias Bieniek
89ab68cde7
Replaced jasmine testing framework by mocha, expect.js and sinon
...
as discussed in #319
2013-03-13 04:32:43 +01:00
Éric Lemoine
1776d80cb9
Add a snapToZero rotation constraint
2013-03-05 10:08:00 +01:00
Tom Payne
f6fe7bd36c
Make spec indentation pass strict mode
2013-03-04 20:47:20 +01:00
Éric Lemoine
b6ed5f2164
Use namespaces for tests
...
With this commit test files provide namespaces (using goog.provide). This fixes the issue reported by @bartvde where goog objects cannot be used in Jasmine "describe" functions. It also frees us from having to add script tags for the test files in test/ol.html.
2013-01-31 10:18:21 +01:00
Éric Lemoine
927cffb2b7
Add view abstraction
2013-01-09 14:03:16 +01:00