Commit Graph

63 Commits

Author SHA1 Message Date
Frederic Junod
92c96b95f9 Reuse the frame state viewHints array if defined 2016-04-14 10:36:12 +02:00
Frederic Junod
80e984a9c3 Use Array.isArray instead of goog.isArray 2016-04-04 09:06:29 +02:00
Tim Schaub
13a981c94b Fewer blank lines 2016-01-11 22:03:23 -08:00
Tim Schaub
e6f6dcc230 Partial valid-jsdoc corrections 2016-01-11 18:56:08 -08:00
Andreas Hocevar
b8fc917016 Do not depend on units for resolutions calculation 2016-01-07 20:14:44 +01:00
Marc Jansen
ae657518c5 Remove goog.isNull in view class 2015-10-01 09:18:53 +02:00
Tim Schaub
ab87eb8af0 Remove remaining goog.isDefAndNotNull() calls 2015-09-29 09:51:41 -06:00
Tim Schaub
29a1ea9ae3 Remove remaining goog.isDef() calls 2015-09-27 11:13:58 -06:00
Tim Schaub
83c59ee255 Inline goog.isDef() calls for properties 2015-09-27 10:40:20 -06:00
Tim Schaub
e3951fa3c6 Inline simple goog.isDef() calls 2015-09-27 10:34:44 -06:00
Tim Schaub
a86c270f6a Inline simple !goog.isDef() calls 2015-09-27 10:31:16 -06:00
Tim Schaub
6638ae855d Inline simple !goog.isDef() checks 2015-09-27 10:23:30 -06:00
Tim Schaub
b36d697585 Inline goog.isDef() property checks 2015-09-27 10:21:50 -06:00
Tim Schaub
7659e47e07 Inline simple goog.isDef() checks 2015-09-27 10:18:44 -06:00
Tim Schaub
cf5eadebaa Define options 2015-09-27 10:11:30 -06:00
Frederic Junod
0a6745f1e4 Remove unused goog.require
Found by the latest version of closure-compiler (v20150729)
2015-08-04 10:01:11 +02:00
Andreas Hocevar
5e505f200a Snap center to pixel to avoid floating point issues 2015-07-28 14:02:09 +02:00
Bart van den Eijnden
7c207d47bb Move upgrade notes to 3.7 and fix typos 2015-07-02 15:23:34 +02:00
vmalaret
4d3e903670 ol.View#fit -- fix docs and add assertions 2015-07-02 15:19:09 +02:00
vmalaret
e7cd691362 rotation support for ol.View#calculateExtent 2015-07-02 15:19:08 +02: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
e1079ab9a3 Improve overview map handling of map and view changes 2015-04-07 08:35:48 -06:00
Tim Schaub
0189e11931 Remove unconditionally exported methods 2015-04-07 08:35:47 -06:00
Tim Schaub
4f428d7cd5 View docs 2015-04-04 17:38:02 +02:00
tsauerwein
b911d740d8 Clarify rotation docs 2015-04-04 09:41:29 +02:00
Tim Schaub
7ee8866f35 End the getResolutionForExtent experiment 2015-04-02 16:23:53 +02:00
Tim Schaub
21263f9184 Stable view methods 2015-04-02 16:23:42 +02:00
Marc Jansen
fb9ba22c30 Add message to assertions. 2015-03-30 22:53:03 +02:00
Frederic Junod
829a0ca224 Disallowed undefined rotation value 2015-01-27 09:26:51 +01:00
Frederic Junod
98f7b5f186 Mark projection property as constant 2015-01-26 10:20:21 +01:00
Tim Schaub
06dc0902c6 Avoid use of goog.array.clone with arrays 2015-01-15 12:43:12 -07:00
Éric Lemoine
96f8a806a6 Improvement to view docs 2014-11-10 12:48:43 +01:00
Erik Timmers
b321501476 Fix namespacing convention 2014-10-01 17:57:53 +02:00
Éric Lemoine
c89ea54179 Better docs for fitExtent and calculateExtent 2014-08-25 09:28:31 +02:00
Éric Lemoine
f4c8f176ec Add @api stable annotations to ol.View 2014-08-25 09:19:58 +02:00
Peter Robins
44d9955dae Remove link to non-existent ol.ViewOptions 2014-08-21 08:34:54 +01:00
Peter Robins
5247903a4a Small corrections to ol.View docs 2014-08-12 07:13:10 +00:00
Frederic Junod
e69913900e Remove projection from ol.View observable properties 2014-07-31 12:10:35 +02:00
tsauerwein
3b8e182856 Add maxZoom to ol.View.fitGeometry() options 2014-07-11 16:31:01 +02:00
Andreas Hocevar
82604ff60b Make sure that projection is an ol.proj.Projection instance 2014-07-08 21:41:08 +02:00
Tim Schaub
d99a61545c Use @observable annotation instead of @todo observable 2014-07-05 16:16:44 -04:00
Tim Schaub
4cf5ab4620 Use @api annotation instead of @todo api 2014-07-05 15:41:14 -04:00
Éric Lemoine
eafc2ac371 Change setValues to setProperties 2014-06-27 17:26:51 +02:00
Tim Schaub
9565e17ee0 Rename ol.View2DProperty to ol.ViewProperty 2014-06-27 09:59:39 -04:00
Tim Schaub
878dcd1d28 Rename olx.View2DOptions to olx.ViewOptions 2014-06-27 09:59:39 -04:00
Tim Schaub
47d37fabea Rename ol.View2D to ol.View 2014-06-27 09:59:39 -04:00
Tim Schaub
956e1bf8b4 Remove ol.View base class 2014-06-27 09:52:19 -04:00
Tim Schaub
3c1cb55079 Remove IView and IView2D 2014-06-27 09:52:19 -04:00
Tim Schaub
c74f945817 Remove IView3D 2014-06-27 09:52:19 -04:00
Peter Robins
75be215497 Add standard docs text to abstract base classes 2014-06-14 07:20:33 -04:00