Éric Lemoine
dbca68650c
Move rotate from View2D to Interaction
2013-04-10 08:52:06 +02:00
Éric Lemoine
51094139a8
Move pan function from View2D to Interaction
2013-04-10 08:27:47 +02:00
Éric Lemoine
396ee5ce3d
Add constrainResolution|Rotation to ol.View2D
2013-04-09 17:06:18 +02:00
Éric Lemoine
6bb36452cb
Add calculateCenterZoom|Rotation to ol.View2D
2013-04-09 16:50:48 +02:00
Éric Lemoine
631afb07ab
Add value/resolution functions to View2D
2013-04-08 12:28:37 +02:00
Tom Payne
b74ebcdae5
Be more consistent with view options
2013-04-07 11:44:59 +02:00
Tom Payne
4be8c991f7
Add missing Closure Library requires
2013-04-06 14:28:12 +02:00
Tom Payne
02196c94b5
Redefine ol.Coordinate to be Array.<number>
2013-04-05 12:30:37 +02:00
Éric Lemoine
de1575e457
One direction pinch zoom
2013-03-27 11:52:42 +01:00
Tom Payne
77bd279160
Use ol.easing instead of goog.fx.easing
2013-03-09 02:03:59 +01:00
Tom Payne
fe3b8d862d
Correct center setting, thanks @elemoine
2013-03-09 01:31:14 +01:00
Tom Payne
3d37ba7666
Add ol.View2D.pan
2013-03-07 20:00:31 +01:00
Éric Lemoine
b884f2f25d
View2D NoConstraint methods renamed
2013-03-05 12:51:03 +01:00
É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