ahocevar
9163558511
Replace instanceof checks with other logic
2018-10-12 20:35:59 +02:00
Florent gravin
e25d053ba6
Featureloader this reference can also be ol.VectorTile
2018-09-19 16:43:10 +02:00
Tim Schaub
ccfacc5ee6
Transformed types
...
Using the [ts.js codemod](https://gist.github.com/tschaub/1ea498c9d1e5268cf36d212b3949be4e ):
jscodeshift --transform ts.js src
2018-09-05 08:05:29 -06:00
Tim Schaub
6cfa2b22a7
Explicit void
2018-07-26 10:46:39 -06:00
Tim Schaub
d12ef20b12
Use Array<Foo> instead of Array.<Foo>
2018-07-25 18:32:43 -07:00
ahocevar
59d904e509
Fix some types
2018-04-27 09:30:51 +02:00
ahocevar
440d1ad3e1
Shorter module paths for default exports
2018-04-25 17:25:39 +02:00
Frederic Junod
d8c0e6e69b
Module type for ol.format.Feature
2018-03-23 08:44:21 +01:00
Andreas Hocevar
95d6251dbb
Get rid of olx.js and typedef.js typedefs for ol
2018-03-08 18:57:24 +01:00
Tim Schaub
d0a8ae718e
Merge pull request #7915 from gberaudo/untie_featureloader_from_xml_code
...
Untie feature loader and XML code
2018-03-03 13:03:28 -07:00
Frederic Junod
b50a47114e
Move the nullFunction to ol/functions
...
And rename it to `UNDEFINED`.
2018-03-01 14:41:18 +01:00
Guillaume Beraudo
cb539bce98
Untie feature loader and XML code
2018-03-01 09:14:45 +01:00
raiyni
4449da3e63
named exports from ol/xml
2018-02-07 14:42:01 -06:00
Tim Schaub
ad62739a6e
Use blocked scoped variables
...
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Frederic Junod
27c54cc36c
Rename _ol_format_FormatType_ to FormatType
2017-12-18 16:45:10 +01:00
Frederic Junod
7202573f82
Named export for ol/featureloader
2017-12-18 10:33:41 +01:00
Tim Schaub
87295a74dd
Use named exports from ol/index.js
2017-12-12 12:34:23 -07:00
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Andreas Hocevar
b3be7e7ba9
Get tilePixelRatio from MVT tiles
2017-08-02 20:11:14 +02:00
Marc Jansen
7d6929c710
Manual adjustment of indentation
2017-06-20 10:41:03 +02:00
Marc Jansen
d0ef05977b
Autofix indentation issues (eslint --fix)
2017-06-19 11:58:00 +02:00
Aleš Jiránek
9c20a5eec8
Don’t crash if feature loader xhr response returns 500
2017-03-06 11:15:16 +01:00
Tim Schaub
a20bd72aa9
Move loader functions and response handlers to tile module
2016-11-11 05:35:20 -07:00
Frederic Junod
cda8a5a8b7
Add missing goog.require('ol')
2016-09-01 06:58:10 -06:00
Tim Schaub
9e4d80b459
Move State to ol.Tile
2016-08-12 10:53:49 -06:00
Tim Schaub
907a65ab83
Remove unused goog.require() calls in the source
2016-08-08 09:58:10 -06: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
Andreas Hocevar
7da5a5ae92
Make XHR work for file:// urls
...
The response status will be 0 instead of a HTTP status code for file urls,
so we need to consider a status of 0 as success too.
2016-07-28 13:46:43 +02:00
Frederic Junod
b8ce70fbf0
Get rid of goog.isFunction
2016-06-20 16:09:25 +02:00
Peter Robins
535e8f5e35
Move top-level typedefs to typedefs.js
...
With one exception, those directly in the `ol` namespace can be moved without problem.
Some left-over goog.requires are also removed.
2016-05-11 17:18:05 +00:00
Frederic Junod
8c6883db34
Remove unnecessary cast
2016-02-04 15:52:28 +01:00
Andreas Hocevar
78f44dcc8a
Improve XHR and ol.net.jsonp result/failure handling
2016-02-03 11:19:38 +01:00
Andreas Hocevar
d7497f9686
Always provide useCapture and async args to browser
2016-02-03 11:19:38 +01:00
Andreas Hocevar
f35d0106b8
Remove goog.net.* and goog.async.AnimationDelay
2016-02-03 11:19:38 +01:00
Andreas Hocevar
3f2d79b7fe
Replace goog.events.Event/EventTarget system with our own
...
This also removes goog.events.listen, goog.events.unlisten,
goog.events.unlistenByKey and goog.events.BrowserEvent.
2016-02-03 11:19:38 +01:00
Andreas Hocevar
483376deb2
Untangle vector tile feature reprojection
2016-01-27 00:42:51 +01:00
Andreas Hocevar
d6a8c9465e
Make pixel projection handling work in compiled mode
...
The compiler seems to have trouble with functions that can run with
different 'this' types. By moving the units handling to the callback, this
issue can be avoided.
2016-01-15 20:59:16 +01:00
Andreas Hocevar
fbb59d29b9
Make sure compiled code calls ol.VectorTile#setProjection
2015-12-11 15:20:21 +01:00
Andreas Hocevar
8f4c6a5bbf
Remove redundant code from ol.featureloader.tile
2015-12-08 18:30:25 +01:00
Andreas Hocevar
a940cdd6a7
Add support for OSM vector tiles
2015-12-07 11:15:25 +01:00
Andreas Hocevar
5832943773
Make changes suggested during the review
2015-10-28 10:29:04 +01:00
Andreas Hocevar
80fa26ddd8
Reduce the use of goog.*
2015-10-28 10:29:03 +01:00
Andreas Hocevar
6e2f82c397
Introduce ol.render.Feature
2015-10-28 10:29:02 +01:00
Andreas Hocevar
63629e1ee2
Add tile error handling
2015-10-28 10:29:01 +01:00
Andreas Hocevar
7d3fc3ccc7
Add VectorTile layer, source and tile
2015-10-28 10:29:01 +01:00
Andreas Hocevar
598111b78e
Introduce ol.format.MVT
2015-10-28 10:29:00 +01:00
Tim Schaub
ed3dcd636f
Replace !goog.isDefAndNotNull() with falsey checks
2015-09-29 09:32:51 -06:00
Tim Schaub
ac7db89a91
Replace goog.isDefAndNotNull() with truthy checks
2015-09-29 09:32:51 -06:00
Alvin Lindstam
e41ba12445
Modify ol.featureloader (and consequently ol.source.Vector) to accept a function as a url.
2015-08-28 21:57:48 +02:00
Frederic Junod
4b5f8cd60e
Remove unused local variable
2015-04-27 09:56:01 +02:00