Commit Graph

1845 Commits

Author SHA1 Message Date
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
Andreas Hocevar
6f0eec632f Use existing check for assertion 2020-08-23 18:23:52 +02:00
mike-000
95702648b2 simplify scale calculation
update tests to reflect more accurate calculation
2020-08-03 23:03:56 +01:00
mike-000
95e506cf36 Apply context options in handleImageChange
update tests
add new tests
2020-08-01 16:07:58 +01:00
Andreas Hocevar
0167c2760e Grow cache size dynamically 2020-07-11 18:04:07 +02:00
EvertE
27983a8f8d Add dispose API docs to raster source (#10856) 2020-07-08 09:57:07 +02:00
Andreas Hocevar
66de2cfd81 Use cross-browser find 2020-06-11 12:15:36 +02:00
Tim Schaub
fc896eb8c7 Call disposeInternal on the super 2020-05-17 12:17:42 -06:00
Alexis
b57c0ad631 docs: standardize opaque's jsdoc comment to say 'Whether the layer is oqaque'
-
2020-05-17 15:04:25 +02:00
Alexis
2f03706e80 docs: fix opaque's jsdoc default value to false
fix #10964
2020-05-17 14:54:45 +02:00
Tim Schaub
b16c2e0062 Include pixelworks and terminate workers before creating new ones 2020-05-16 22:19:40 -06:00
mike-000
9a8b9d8ade add Image source imageSmoothing option
Add Image smoothing checkbox to example

Test imageSmoothing option
2020-05-09 10:41:20 +01:00
Andreas Hocevar
7139c0fdcc Merge pull request #10990 from mike-000/patch-9
Include context options in tile cache key
2020-05-04 18:46:48 +02:00
mike-000
c0577c3293 Include context options in reprojection cache key
fix prettier
2020-05-04 16:45:29 +01:00
mike-000
76d2d6e737 Include context options in reprojection cache key
override the inherited getKey() method
2020-05-04 16:27:27 +01:00
mike-000
9e160e75f9 Include context options in reprojection cache key
use reprojection tileCoordKey instead of source key
2020-05-04 14:31:46 +01:00
mike-000
9bf037947c Include context options in reprojection cache key
fix prettier
2020-05-04 12:53:24 +01:00
mike-000
b2a1540ee0 Include context options in reprojection cache key 2020-05-04 12:47:15 +01:00
Tim Schaub
4d9975754f Mapbox vector layer 2020-05-03 16:07:27 -06: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
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
a1dd9cacf7 fix return type 2020-04-04 14:00:20 +01: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
5c848ac1b9 make context options available to renderer 2020-04-02 20:10:07 +01:00
mike-000
0ba659b6af make context options available to renderer 2020-04-02 20:09:58 +01:00
mike-000
1cd4d37c45 change option name to imageSmoothing 2020-04-02 18:44:07 +01:00
Andreas Hocevar
190cd202a1 Always use load extent with real world center 2020-03-31 16:03:11 +02:00
mike-000
f6bbf414a8 Add loadWrapX option and getter 2020-03-31 16:03:09 +02:00
Andreas Hocevar
f24ecf7b2c Merge pull request #10805 from regileeso/master
make ImageSourceEventType available for consumers
2020-03-27 11:35:30 +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
regileeso
406c38403b make ImageSourceEventType available for consumers 2020-03-13 11:36:20 +00:00
mike-000
874b850d76 Merge branch 'master' into patch-4 2020-03-11 17:10:03 +00:00
Andreas Hocevar
f448d7179a Merge pull request #10785 from ahocevar/zoomify-retina
Detect Zoomify server-side retina tiles
2020-03-11 11:05:57 +01:00
Andreas Hocevar
ad476f6086 Detect Zoomify server-side retina tiles 2020-03-09 15:22:43 +01:00
Jackie Ng
21fcb4621b Ensure consistent optionality for options.projection for all ImageSource-derived constructor options 2020-03-04 23:38:54 +11:00
mike-000
7af9697b40 Merge branch 'master' into patch-4 2020-02-28 12:20:06 +00:00
Andreas Hocevar
0fd336daa5 Merge pull request #10743 from ahocevar/ignore-cache-size-when-too-small
Ignore user provided tile cache size when too small
2020-02-27 14:52:33 +01:00
Andreas Hocevar
a072e3acea Ignore user provided tile cache size when too small 2020-02-27 13:41:21 +01:00
Maximilian Kroeg
ba84cfad61 Do requeseted changes 3/3 2020-02-27 10:28:26 +01:00
Maximilian Kroeg
f18b78d2da Do requested changes 2/3 to cluster source 2020-02-27 10:01:20 +01:00
Maximilian Kroeg
01b3f9a97b Allow cluster source to unlisten from its source
This adds a setSource method to change or remove the cluster source's source.
2020-02-25 10:33:02 +01:00
Andreas Hocevar
608d515f1f Make sure that optional args are typed accordingly 2020-02-20 12:39:31 +01:00
mike-000
1416e30127 Add maxResolution option to createXYZ()
include maxResolution in options test
2020-02-17 18:20:50 +00:00