Andreas Hocevar
b0f20d6bd6
Use imports for enum types
2020-04-15 10:53:23 +02:00
Tim Schaub
054af09032
Make code prettier
...
This updates ESLint and our shared eslint-config-openlayers to use Prettier. Most formatting changes were automatically applied with this:
npm run lint -- --fix
A few manual changes were required:
* In `examples/offscreen-canvas.js`, the `//eslint-disable-line` comment needed to be moved to the appropriate line to disable the error about the `'worker-loader!./offscreen-canvas.worker.js'` import.
* In `examples/webpack/exapmle-builder.js`, spaces could not be added after a couple `function`s for some reason. While editing this, I reworked `ExampleBuilder` to be a class.
* In `src/ol/format/WMSGetFeatureInfo.js`, the `// @ts-ignore` comment needed to be moved down one line so it applied to the `parsersNS` argument.
2020-04-06 12:54:09 -06:00
mike-000
1416e30127
Add maxResolution option to createXYZ()
...
include maxResolution in options test
2020-02-17 18:20:50 +00:00
Frederic Junod
daaaff5ac7
Remove unnecessary typecast
...
Remove typecast where typescript is able to correctly deduce the type.
2019-10-02 10:44:06 +02:00
Frederic Junod
9c52e0d6d9
Remove extra imports in jsdoc
...
The symbols are already imported (es6 import)
2018-09-19 14:52:58 +02:00
Tim Schaub
52b30ead65
Rework createXYZ
2018-09-05 12:00:54 -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
Tim Schaub
d12ef20b12
Use Array<Foo> instead of Array.<Foo>
2018-07-25 18:32:43 -07:00
Frederic Junod
af1f6836af
Shorter module paths for default exports
2018-05-09 11:24:43 +02:00
Tim Schaub
5a9fad218b
Remove *.jsdoc files
2018-05-07 21:53:20 -06:00
Tim Schaub
34c1a6b9ba
Replace type annotations
2018-05-07 21:21:39 -06:00
ahocevar
440d1ad3e1
Shorter module paths for default exports
2018-04-25 17:25:39 +02:00
Michael Kuenzli
310b9256eb
Move olx.tilegrid.XYZOptions to ol/tilegrid
2018-04-17 17:28:32 +02:00
Michael Kuenzli
ff488c8214
Move olx.tilegrid.TileGridOptions to ol/tilegrid/TileGrid
2018-04-17 15:09:47 +02:00
Frederic Junod
f7944d3762
Fix type name for module:ol/extent/Corner~Corner and Relationship
2018-03-15 14:42:39 +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
9ed3881f34
Named exports from ol/tilegrid
2018-02-09 09:30:16 -07:00
Tim Schaub
11a4e1afa6
Named exports from ol/size
2018-02-07 11:47:51 -07:00
Frederic Junod
31e30d28b7
Named exports from ol/obj
2018-01-16 14:14:17 +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
a04144c3c2
Rename _ol_proj_Units_ to Units
2018-01-10 09:35:42 -07:00
Frederic Junod
297c9e45ab
Rename _ol_tilegrid_TileGrid_ to TileGrid
2017-12-22 10:56:20 +01: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
f2752eb01e
Common tilegrid exports
2017-12-12 16:53:57 -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
Marc Jansen
d0ef05977b
Autofix indentation issues (eslint --fix)
2017-06-19 11:58:00 +02:00
Andreas Hocevar
355ce9f679
Use same tile size in rendered and source tile grid
2017-05-09 14:04:04 +02:00
Andreas Hocevar
785e7135a7
Decouple source and rendered tile grid of vector tile sources
2017-05-09 14:04:04 +02:00
Tim Schaub
ef04f466cd
Name modules more like their provide
2016-12-18 11:24:01 -07:00
Tom Payne
65b8e0f915
Use object literals and use generic tile layer
2012-09-27 12:45:00 +02:00
Tom Payne
a416d1f601
s/TileBounds/TileRange/
2012-09-24 14:33:24 +02:00
Tom Payne
f8c31ba45c
s/ol3/ol/
2012-09-24 14:21:41 +02:00