Andreas Hocevar
cd017ec2f6
Merge pull request #11532 from ahocevar/tilegrid-docs
...
Make TileGrid behave as documented with extent and sizes options
2020-09-12 20:14:45 +02:00
Andreas Hocevar
0f8c8af833
Make TileGrid behave as documented with extent and sizes options
2020-09-09 16:07:33 +02:00
Florent gravin
5d8aa85caa
Use regexp replacements in ol.proj.get
...
This avoids to have to many redundant identifier definitions for each projection and ensure to cover most of the existing srsNames
2020-09-08 17:33:07 +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
8865f22020
Fix trailing space
2019-11-20 18:28:59 +00:00
mike-000
fb7060a4d0
Update tile grid option descriptions
...
In version 6 coordinate increase downwards. Revise the description for "sizes" to better distinguish zoom level and overall grid extents. Remove reference to the "widths" options which was deprecated over 4 years ago.
2019-11-20 18:15:31 +00:00
mike-000
c3153075b2
Update tile grid option descriptions
...
In version 6 coordinate increase downwards. Add a description for "sizes"
2019-11-20 18:02:42 +00:00
Lutz Helm
4629fe5028
Add @api annotation for TileGrid#getExtent
2019-05-09 18:00:18 +02:00
Frederic Junod
41d231a4c7
Remove opt_this param in forEachTileCoordParentTileRange function
...
The function is only called by `ol/renderer/canvas/TileLayer` and `opt_this` was always `null`.
2019-02-07 11:43:52 +01:00
Niklas Alt
4bc9216e41
Add ': void' to non returning functions (error TS7014)
2018-12-06 19:57:45 +01:00
Tim Schaub
e9a30c5cb7
Use standard tile coords
2018-11-21 11:14:17 -07:00
Frederic Junod
219dacb232
Simplify import path in ol/tilegrid/
2018-11-05 16:26:45 +01:00
Frederic Junod
ea616e7751
Don't import ourselves
2018-09-06 09:05:32 +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
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
Frederic Junod
65b306891b
Remove 'struct' jsdoc tags, code indentation
2018-07-18 09:07:27 +02:00
Tim Schaub
1e4ab17513
Assign to this after super in WMTS tile grid
2018-07-18 00:43:29 -06: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
d0ab8dce38
Lint removal
2018-07-16 17:57:57 -06:00
Tim Schaub
f78d0d4cfa
Manual class transform
2018-07-16 17:09:50 -06:00
ahocevar
28409486a5
Make classes in ol/ available as named exports from ol
2018-06-21 18:08:17 +02:00
Tim Schaub
5a9fad218b
Remove *.jsdoc files
2018-05-07 21:53:20 -06:00
ahocevar
440d1ad3e1
Shorter module paths for default exports
2018-04-25 17:25:39 +02:00
Frederic Junod
6006a9d9b5
Allow unprefixed WMTS tileMatrix identifiers
...
`ol.tilegrid.WMTS.createFromCapabilitiesMatrixSet` fails when tileMatrix identifiers
are not prefixed by their tileMatrixSet identifier.
Original code by @filipheymans
2018-04-19 11:48:42 +02:00
Frederic Junod
4b76ad60d2
Remove unused variable
2018-04-19 10:53:10 +02:00
Michael Kuenzli
2178393e18
Move olx.tilegrid.WMTSOptions to ol/tilegrid/WMTS
2018-04-17 15:14:44 +02:00
Michael Kuenzli
ff488c8214
Move olx.tilegrid.TileGridOptions to ol/tilegrid/TileGrid
2018-04-17 15:09:47 +02:00
Frederic Junod
7d727d287c
Use path type instead of ol.tilegrid.WMTS
2018-03-15 14:20:49 +01:00
Frederic Junod
76fb0edf0d
Use path type instead of ol.tilegrid.TileGrid
2018-03-15 14:20:49 +01:00
Tim Schaub
5c9aa0ce93
Module type for ol/TileRange
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
Frederic Junod
aaf3999e0d
Rename tileCoordCreateOrUpdate to createOrUpdateTileCoord
2018-02-21 09:23:51 +01:00
Frederic Junod
a92c08bf26
Named exports from ol/TileRange
2018-02-21 09:22:21 +01:00
Marc Jansen
685b46f1e3
Named exports from tilecoord
2018-02-15 18:04:51 +01:00
Tim Schaub
56815914ec
Remove private static members from TileGrid
2018-02-12 07:12:02 -07:00
Andreas Hocevar
2c718db797
Fix type annotations
2018-02-08 19:51:26 +01:00
Tim Schaub
11a4e1afa6
Named exports from ol/size
2018-02-07 11:47:51 -07: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
297c9e45ab
Rename _ol_tilegrid_TileGrid_ to TileGrid
2017-12-22 10:56:20 +01:00
Frederic Junod
7617e4e377
Rename _ol_source_WMTSRequestEncoding_ to WMTSRequestEncoding
...
And add named export for `createFromCapabilitiesMatrixSet` function.
2017-12-22 10:50:23 +01:00
Ron Young
a11208d126
rename _ol_math_ imports
2017-12-20 19:31:00 -06:00
Marc Jansen
02002082bf
Named exports from ol/array module
2017-12-19 17:22:58 +01:00
Frederic Junod
9349ba5403
Named export for ol/asserts
2017-12-18 10:33:41 +01:00
Frederic Junod
a7b743da07
Rename _ol_TileRange_ to TileRange
2017-12-18 10:33:41 +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