Tim Schaub
25d47ed752
Use Object.assign
2022-07-28 13:23:16 -06:00
Tim Schaub
82ceaea4ab
Use Array.prototype.findIndex
2022-07-27 14:00:06 -06:00
Tim Schaub
157bdc5208
Use Array.prototype.find
2022-07-27 13:57:35 -06:00
Tim Schaub
44289a3a31
Remove workaround for Array.prototype.includes
2022-07-27 11:17:49 -06:00
Frederic Junod
252671108f
Use union type instead of WMTS request encoding
2022-07-15 10:51:08 +02:00
Andreas Hocevar
aa190a629a
Flip extent coordinates for projections with ne* axis order
2022-05-20 19:38:55 +02:00
EvertEt
25e1d6c5d6
Improve some null types for strictNullChecks
2022-02-06 19:36:30 +01:00
Tim Schaub
e2883fb658
Deprecate the imageSmoothing option for sources
2021-12-27 15:30:48 -07:00
mike-000
ddf7ac6e42
Add zDirection to options
2021-07-09 11:32:27 +01:00
Andreas Hocevar
79f5f46d27
Remove lint
2021-06-28 18:10:51 +02:00
Maximilian Krög
a395de46eb
Detect wrap x if wgs84BoundingBox is missing
2021-06-18 13:59:35 +02:00
Maximilian Krög
3ebcdb45d9
Fix WMTS wrapX detection if WGS84BoundingBox is not set
2021-06-17 13:43:05 +02:00
mike-000
45f88eb107
Do not set projection extent
2021-04-27 14:49:27 +01:00
sbx320
6f433d8c46
Add attributionsCollapsible option to source/TileWMS and source/WMTS
2021-04-12 07:11:14 +02:00
Amir Ashkan Baghdoust
d822e4085c
Merge branch 'main' of https://github.com/openlayers/openlayers into main
2021-03-07 18:31:04 +01:00
Marc Jansen
df23c234dc
Fix common misspellings
...
These were found with codespell.
2021-03-05 22:53:35 +01:00
Andreas Hocevar
5b69af64e8
Merge pull request #11543 from sweco-dkjesh/main
...
wmts matrixset null pointer fix and improved handling of Identifier
2020-09-09 17:51:33 +02:00
sweco-dkjesh
df8da1158f
Lint
2020-09-09 13:30:14 +02:00
sweco-dkjesh
d409168940
Lint
2020-09-09 13:22:38 +02:00
sweco-dkjesh
bf86bcbee4
Lint
2020-09-09 13:13:58 +02:00
sweco-dkjesh
6ae62c3e93
Lint
2020-09-09 12:49:04 +02:00
sweco-dkjesh
132ce172ed
null pointer fix and improved handling of Identifier
...
Fix nullpointer error when a matrixSet is not found in the matrixsetobj when matrix limits exist.
Also check for match by prepending matrixSetObj.Identifier which is supported by some wmts services.
2020-09-09 12:29:43 +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
amir-ba
f3a33bd75a
Adjusts the WMTSCapabilities format to read the projected TileMatrixSet's BoundingBox
2020-08-09 17:55:18 +02:00
amir-ba
3de64763e7
fixes WMTS optionsFromCapabilities extent not considering the Wgs84BoundingBox
2020-08-07 00:50:23 +02:00
Andreas Hocevar
0167c2760e
Grow cache size dynamically
2020-07-11 18:04:07 +02:00
Andreas Hocevar
66de2cfd81
Use cross-browser find
2020-06-11 12:15:36 +02:00
Niels Meijer
9cab1215c0
Use TileMatrixSetLimit for extent calculation when available.
2020-04-29 16:35:36 +02:00
Niels Meijer
88ffc559cc
Change XY based on projection.getAxisOrientation(), not only for EPSG:4326
2020-04-29 13:50:08 +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
Andreas Hocevar
29ce0bb223
Fix private scope issues in source/UrlTile and subclasses
2020-04-15 10:53:26 +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
Frédéric Junod
d8cbda18a7
Merge pull request #10840 from fredj/remove_inheritDoc
...
Remove inherit doc
2020-04-04 14:06:43 +02:00
Frederic Junod
615ae71a8f
Remove all inheritDoc tags from src/ol/source
2020-04-03 07:56:58 +02:00
mike-000
dfcc649c59
Merge branch 'master' into patch-4
2020-04-02 22:37:36 +01:00
mike-000
1cd4d37c45
change option name to imageSmoothing
2020-04-02 18:44:07 +01: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
mike-000
7af9697b40
Merge branch 'master' into patch-4
2020-02-28 12:20:06 +00:00
Andreas Hocevar
a072e3acea
Ignore user provided tile cache size when too small
2020-02-27 13:41:21 +01:00
mike-000
560931e976
Set reprojection canvas context options
...
Add example of disabling image smoothing
Add test for reprojection context options
2019-12-20 11:41:42 +00:00
Jonas
5dbd1e4cbb
Fix typo in jsdoc
2019-11-14 08:50:35 +01:00
ahocevar
0f217392d7
Adjust tile cache size when too small
2019-03-12 00:19:13 +01:00
Frederic Junod
1ba85a11e9
Change 'cacheSize' description in typedef
2019-01-25 16:50:17 +01:00
ahocevar
b6d115d868
Make tile cache smaller and screen size dependant
2019-01-21 22:35:48 +01:00
Tim Schaub
e9a30c5cb7
Use standard tile coords
2018-11-21 11:14:17 -07:00
Frederic Junod
087b024a24
Change projection property in sources options to optional
...
The `projection` property is not mandatory, the view's projection is used if not provided.
2018-11-21 16:23:29 +01:00
Frederic Junod
0189e8345d
Remove WebGL references in comments
2018-11-16 14:05:06 +01:00
Frederic Junod
c12b41f8c6
Simplify import path in ol/source/
2018-11-05 16:26:45 +01:00
Roman Zoller
43b9f70077
Clarify format option for ol/source/WMTS
2018-10-15 13:29:19 +02:00