Commit Graph

68 Commits

Author SHA1 Message Date
Éric Lemoine 43b1e11e7a 2DView refactoring
This refactoring makes animating zoom, as opposed to zoomByDelta, possible.
2013-03-05 10:08:01 +01:00
Éric Lemoine c431acacca Make animating rotation possible 2013-03-05 10:08:00 +01:00
Éric Lemoine 1776d80cb9 Add a snapToZero rotation constraint 2013-03-05 10:08:00 +01:00
Éric Lemoine 178c68868b Add a rotateNoConstraint View2D method 2013-03-05 09:59:31 +01:00
Éric Lemoine 03ae41a68c Change View2D function names
Also make the TouchZoom interaction no longer use a private View2D function.
2013-03-05 09:59:31 +01:00
Éric Lemoine 3ba9a4afd4 View2D zoom may animate pan 2013-03-05 09:59:30 +01:00
Éric Lemoine 57a86353cd zoomFactor defaults to 2 2013-03-05 09:59:30 +01:00
Tom Payne fcc620af7d Separate ol.projection module from ol.Projection class 2013-03-03 13:09:13 +01:00
Tim Schaub 0a5dae9ed0 Avoid left shift in resolution calculations 2013-02-18 18:37:27 -07:00
Frederic Junod 34975428c4 Change view.rotate params: rotation and optional anchor. 2013-02-14 12:17:26 +01:00
Tim Schaub a2bbdf7ccc More natural names for animations 2013-02-06 13:43:54 -07:00
Tom Payne e6eb401e36 Add missing goog.requires 2013-01-30 23:47:13 +01:00
Frederic Junod 7568688301 Use option object rather than positional arguments for ol.animation.create* functions 2013-01-23 17:07:55 +01:00
Tom Payne 965d5e2cc8 Add animation duration to ol.View2D.zoom 2013-01-17 15:50:28 +01:00
Tom Payne 1278ccb942 Add default tile size @define, refs #114, fixes #120 2013-01-16 17:49:51 +01:00
ahocevar 87ce763ccb Use validity extent to generate default resolutions
Previously, the TiledWMS source generated a resolutions array
derived from the world extent in meters, to match the default
Web Mercator resolutions of the map. This wouldn't work for
projections with distance units different than meters. It is
better to commit to a default resolutions array where zoom level
0 is the validity extent of the projection (not the Web Mercator
world extent!) at a 256 pixel tile size.
2013-01-14 16:10:55 +01:00
Tom Payne f3cace499c Implement frame state and animation architecture 2013-01-11 15:48:24 +01:00
Éric Lemoine 927cffb2b7 Add view abstraction 2013-01-09 14:03:16 +01:00