Amir Ashkan Baghdoust
f995de37d4
Adds test for the WMTS capabilities with Boundingbox
2021-03-15 01:53:39 +01:00
Simon Seyock
2b57584180
fix prettier linting problems
2021-03-09 09:08:27 +01:00
Niels Meijer
63d03f4fcc
Split test WMTS capabilities
2020-05-03 10:54:01 +02:00
Niels Meijer
9cab1215c0
Use TileMatrixSetLimit for extent calculation when available.
2020-04-29 16:35:36 +02:00
Andreas Hocevar
96802ba645
Remove lint
2020-04-29 09:23:10 +02:00
Niels Meijer
d395b54605
Apply projection.getMetersPerUnit() to calculated resolution
2020-04-28 21:43:59 +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
Mateusz Łoskot
98e8bec370
Calculate tile grid extent from extent of bottom-level tile matrix
...
Prefers extent derived from the tile matrix set in the capabilities
over default projection extent.
2020-03-26 19:17:32 +01:00
Tim Schaub
e9a30c5cb7
Use standard tile coords
2018-11-21 11:14:17 -07:00
Guillaume Beraudo
315cfa1033
Fix WMTS layers URLs with dimensions
2018-08-16 15:34:56 +02:00
Tim Schaub
00f891c3f9
Named exports from ol/source/WMTS
2018-02-25 08:06:50 -07:00
Frederic Junod
106fe3c138
Rename _ol_format_WMTSCapabilities_ to WMTSCapabilities
2018-01-15 10:26:36 +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
aa89746c47
Rename _ol_proj_Projection_ to Projection
2018-01-11 13:33:41 -07:00
Tim Schaub
2440d52ebe
Rename _ol_source_WMTS_ to WMTS
2018-01-10 09:36:29 -07: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
Tim Schaub
6f72ffe498
Named exports from ol/proj
2017-12-14 13:08:40 +01:00
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Bart van den Eijnden
8afcd1c2ff
Merge pull request #7461 from oterral/teo_wmts
...
Use the matrixSet projection by default
2017-12-05 10:51:11 +01:00
Frederic Junod
14e3fd9214
Fix eslint errors
2017-12-04 10:06:00 +01:00
Alexander Schenkel
c7cb26a066
Fixes setUrl() for WMTS sources (ol.source.WMTS)
...
See Issue #5881 : setUrl was inherited from ol.source UrlTile, which creates a wrong tileUrlFunction: The official WMTS URL Template variables were no longer replaced.
2017-12-04 09:11:28 +01:00
oterral
9cc7cca447
Fix #6835 : doesn't break if Constraint does not exist
2017-11-17 09:00:44 +01:00
oterral
5a252e628b
Fix #7460 : use the matrixSet projection by default
2017-11-13 11:06:31 +01:00
Tim Schaub
a3e3e99baa
Get rid of useless test exports
2017-08-17 15:16:58 -04:00
Marc Jansen
d0ef05977b
Autofix indentation issues (eslint --fix)
2017-06-19 11:58:00 +02:00
SanderH
ebde179ab2
Adding crossOrigin to optionsFromCapabilities
...
This pull request should resolve: https://github.com/openlayers/openlayers/issues/6521
Now with var and single quotes
2017-03-09 14:49:48 +01:00
Frederic Junod
2e22fce718
Return null if the layer was not found in the WMTS capabilities
2017-03-08 15:29:26 +01:00
Bart van den Eijnden
c990cab0c3
Match equivalent projections from WMTS caps
2016-11-16 16:17:55 +01:00
greenkeeperio-bot
71ebed07bf
chore(package): update eslint to version 3.9.1
...
https://greenkeeper.io/
2016-11-01 11:51:06 +01:00
Tim Schaub
100c42e671
Use https for services.arcgisonline.com
2016-10-16 00:25:47 -06:00
Tim Schaub
ed5dbd1293
Put test requires on top
2016-08-08 09:58:11 -06:00
Tim Schaub
e07596846d
Move source files so they are named like their provides
2016-08-07 10:49:11 -06:00