Frederic Junod
c12b41f8c6
Simplify import path in ol/source/
2018-11-05 16:26:45 +01:00
ahocevar
4aff3d0631
Simplify logic for fixed tile url functions
2018-10-02 17:26:22 +02:00
Kevin Schmidt
7dbe38358a
Replace TileClass with typeof ImageTile
2018-10-01 08:37:01 -06: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
Frederic Junod
25c1754052
Cast empty optional options in constructor
...
To remove the typescript errors:
```
Property 'xxx' does not exist on type '{}'
```
2018-09-03 09:40:59 +02:00
Guillaume Beraudo
fe86d2e7f7
Expose original getGutter
...
TileWMS objects take a gutter option but do not have a public getter
for it. This makes it convoluted for user code to recreate the object
(ex: in the case of serialization/deserialization).
- the getGutterInternal() method is renamed to getGutter;
- the getGutter(projection) method is renamed to getGutterForProjection,
which is also more explicit.
The getGutter method was not API and is only used by the renderer.
2018-08-02 17:12:41 +02:00
Tim Schaub
affbf59b77
Use Object<Foo, Bar> instead of Object.<Foo, Bar>
2018-07-25 18:33:49 -07:00
Tim Schaub
d12ef20b12
Use Array<Foo> instead of Array.<Foo>
2018-07-25 18:32:43 -07:00
ahocevar
bbe0a66d07
Set api annotation on classdesc, not constructor
2018-07-21 17:25:22 +02:00
Tim Schaub
d46471d763
Replace {@link https://www.example.com/ } with https://www.example.com/
2018-07-19 08:34:35 -06:00
Frederic Junod
323eb3f251
Fix reprojectionErrorThreshold property type
2018-07-19 16:02:58 +02:00
Tim Schaub
9ce36da349
Remove @extends and @constructor annotations
2018-07-18 00:36:29 -06:00
Tim Schaub
b7b15eb7f0
Remove unused inherits
2018-07-18 00:13:43 -06:00
Tim Schaub
1a5cf52b61
Remove remaining use of inherits in src
2018-07-17 23:43:10 -06:00
Tim Schaub
7b4a73f3b9
Automated class transform
...
npx lebab --replace src --transform class
2018-07-16 16:18:16 -06:00
ahocevar
28409486a5
Make classes in ol/ available as named exports from ol
2018-06-21 18:08:17 +02:00
Tim Schaub
5b65336328
Remove remaining ol.foo notation from the source
2018-05-07 21:21:50 -06:00
Frederic Junod
d8e0212833
Module type for ol.source.*
2018-04-26 15:18:44 +02:00
ahocevar
440d1ad3e1
Shorter module paths for default exports
2018-04-25 17:25:39 +02:00
Frederic Junod
2c98e35d1a
Module type for ol.TileLoadFunctionType
2018-04-25 08:21:11 +02:00
ahocevar
417dd85f83
Fix some jsdoc path types
2018-04-21 10:17:53 +02:00
Michael Kuenzli
71bb2ce019
Move ol.AttributionLike to ol/source/Source
2018-04-19 16:49:13 +02:00
Frederic Junod
7ccb66e80d
Module type for ol.tilegrid.TileGrid
2018-04-19 15:39:26 +02:00
Frederic Junod
2df4d5f877
Module type for ol.TileState
2018-04-19 15:39:26 +02:00
Frederic Junod
4114f4faaa
Module type for ol.TileCoord
2018-04-19 15:39:26 +02:00
Frederic Junod
bf40002af0
Module type for ol.source.TileImage
2018-04-19 15:39:25 +02:00
Florent gravin
c579fc985a
Remove =undefined for default values in ol/source
2018-04-04 10:52:50 +02:00
Florent gravin
0f1cef96fb
Replace ol.ProjectionLike by module:ol/proj~ProjectionLike in ol/source
2018-04-04 10:52:50 +02:00
Florent gravin
f7b2433583
Remove olx.source.TilewmsOptions
2018-04-04 10:52:50 +02:00
Tim Schaub
a743ec3989
Module types for ol/proj
2018-03-12 08:32:09 -06:00
Andreas Hocevar
95d6251dbb
Get rid of olx.js and typedef.js typedefs for ol
2018-03-08 18:57:24 +01:00
Marc Jansen
685b46f1e3
Named exports from tilecoord
2018-02-15 18:04:51 +01:00
Tim Schaub
9c1db1f904
Named exports from ol/reproj
2018-02-09 10:04:03 -07:00
Tim Schaub
11a4e1afa6
Named exports from ol/size
2018-02-07 11:47:51 -07:00
Frederic Junod
a114f64429
Named exports from ol/string
2018-01-19 15:38:21 +01:00
Frederic Junod
31e30d28b7
Named exports from ol/obj
2018-01-16 14:14:17 +01:00
Frederic Junod
40f97eed85
Named exports from ol/uri
2018-01-16 13:35:27 +01: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
Tim Schaub
32ee149909
Rename _ol_source_TileWMS_ to TileWMS
2018-01-10 09:36:29 -07:00
Tim Schaub
a66128caa9
Rename _ol_source_TileImage_ to TileImage
2018-01-10 09:36:28 -07:00
Ron Young
a11208d126
rename _ol_math_ imports
2017-12-20 19:31:00 -06:00
Frederic Junod
87cc4b9c9f
Rename _ol_source_WMSServerType_ to WMSServerType
2017-12-19 08:39:06 +01:00
Frederic Junod
9349ba5403
Named export for ol/asserts
2017-12-18 10:33:41 +01:00
Tim Schaub
b7e9b8b461
Remove logos
2017-12-16 08:46:50 -07:00
Tim Schaub
6f72ffe498
Named exports from ol/proj
2017-12-14 13:08:40 +01:00
Andreas Hocevar
c0c43bca84
Use named imports from extent
2017-12-13 14:05:42 +01:00
Tim Schaub
ed5b28f366
Move DEFAULT_WMS_VERSION to a common source module
2017-12-12 17:42:44 -07: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
Tim Schaub
1cdb6a66f0
Imports cased like the filename
2017-12-12 06:53:17 -07:00