Commit Graph

39 Commits

Author SHA1 Message Date
Andreas Hocevar
e0015b3d4e Use goog.DEBUG instead of ol.DEBUG for now 2016-08-04 11:29:54 +02:00
Andreas Hocevar
6f5ed17fc5 Remove goog.asserts.*
This pull requests replaces type check hint assertions with type casts,
library sanity check assertions with conditional console.assert statements
in debug mode, and runtime sanity checks with assertions that throw an
ol.AssertionError with an error code for lookup outside the library.
2016-08-04 11:29:54 +02:00
Frederic Junod
e289bfbb7d Use ol.inherits instead of goog.inherits 2016-06-08 08:38:12 +02:00
Tim Schaub
13a981c94b Fewer blank lines 2016-01-11 22:03:23 -08:00
Tim Schaub
3cf8618fc7 Prefer single line assignment to 80 character limit 2016-01-11 18:56:08 -08:00
Tim Schaub
ac7db89a91 Replace goog.isDefAndNotNull() with truthy checks 2015-09-29 09:32:51 -06:00
Tim Schaub
1fceb4a709 Remove goog.isDef from formats 2015-09-25 11:28:54 -06:00
Tim Schaub
6a564597fb Update types accepted when reading features 2015-04-18 17:07:34 -06:00
Éric Lemoine
e45c44fa01 Add missing goog.provide's 2015-04-07 13:49:36 +02:00
Bart van den Eijnden
47ce127a10 Add assert messages for all assertions up until ol.renderer.vector. 2015-03-30 22:55:23 +02:00
Frederic Junod
e669b20ed5 Add new geometry layout option for polyline format
To be able to choose the geometry layout of the feature geometries created by
the format reader.

Default is `ol.geom.GeometryLayout.XY`
2015-03-24 11:39:18 +01:00
Frederic Junod
077a827197 Move readProjectionFrom* functions to the base classes 2015-01-21 09:15:04 +01:00
Frederic Junod
83025fb97d Assume a latitude, longitude order for Polyline format 2014-11-06 10:58:52 +01:00
Éric Lemoine
ceb0cc54ce Add @api stable annotations for Polyline format 2014-08-28 17:10:23 +02:00
tsauerwein
939e167c0b Rename "adaptOptionsWithDefaultDataProjection" 2014-08-21 11:39:01 +02:00
tsauerwein
b30ed6b934 Put options on objectStack for xml formats 2014-08-19 09:42:44 +02:00
tsauerwein
539e4a23b9 Introduce defaultDataProjection for formats 2014-08-18 15:31:06 +02:00
tsauerwein
294afe16fe Fix compiler type errors 2014-08-11 14:04:31 +02:00
tsauerwein
48ed2e861e Implement read/write transforms for ol.format.Polyline 2014-08-11 11:59:27 +02:00
Tim Schaub
4cf5ab4620 Use @api annotation instead of @todo api 2014-07-05 15:41:14 -04:00
Frederic Junod
a283977cb9 Make the scale factor of ol.format.Polyline configurable
And export the class
2014-06-17 16:58:40 +02:00
Tom Payne
3541a01aab Factor out ol.geom.flat.inflate 2014-03-12 13:26:14 +01:00
Tom Payne
df3ff9e546 Merge pull request #1781 from twpayne/format-feature
Rename ol.format.Format to ol.format.Feature
2014-02-28 14:47:19 +01:00
Tom Payne
7e32676a9e Rename ol.format.Text to ol.format.TextFeature 2014-02-28 13:11:57 +01:00
Frederic Junod
7f8d4937f5 Remove unused ol.format.Polyline.decodeUnsignedInteger function 2014-02-27 13:36:08 +01:00
Frederic Junod
c31f70bf08 Remove unused ol.format.Polyline.encodeSignedInteger function 2014-02-27 13:36:08 +01:00
Frederic Junod
040b954e15 Remove unused ol.format.Polyline.encodeFloat function 2014-02-27 13:36:08 +01:00
Frederic Junod
11f718ab22 Remove unused ol.format.Polyline.decodeSignedInteger function 2014-02-27 13:36:08 +01:00
Frederic Junod
b2b5e60f87 Remove unused ol.format.Polyline.decodeFloat function 2014-02-27 13:36:08 +01:00
Frederic Junod
6ad63b113d Improve code and apidoc formating 2014-02-27 13:36:08 +01:00
Tom Payne
0a537d5e86 Improve type checking in ol.format.Polyline.decodeDeltas 2014-01-30 11:20:58 +01:00
Tobias Bieniek
432c6d8af3 Optimize encode 2013-12-19 18:14:10 +01:00
Tom Payne
1d1dbb08c9 Use stronger instanceof assertion 2013-12-17 12:59:58 +01:00
Tom Payne
ed332dba19 Remove whitespace 2013-12-17 12:59:58 +01:00
Tom Payne
1864f204f7 Add ol.format.Polyline#readProjectionFromText 2013-12-17 12:59:58 +01:00
Tobias Bieniek
36a5a53ba2 Optimize encode 2013-12-17 12:59:58 +01:00
Tom Payne
d187849838 Making coding style closer to ol3's in ol.format.Polyline 2013-12-17 12:59:58 +01:00
Tom Payne
3cf87ced1e Port ol.parser.polyline to ol.format.Format 2013-12-17 12:59:58 +01:00
Tom Payne
461a0d0615 Move back ol.parser.polyline 2013-12-17 12:59:57 +01:00