Tapio Koskinen
3983500601
Don't try to get image data for zero sized images
...
Otherwise "context.getImageData(0, 0, width, height)" throws an exception.
2020-10-19 13:57:30 +03:00
Andreas Hocevar
eba0ba6ae0
Merge pull request #11592 from ahocevar/new-declutter
...
New decluttering implementation
2020-10-07 10:33:33 +02:00
Andreas Hocevar
8e862766fc
New decluttering implementation
2020-09-27 21:13:26 +02:00
Andreas Hocevar
7a5e0db59f
Remove decluttering for a fresh start
2020-09-18 23:31:20 +02:00
Rens Groothuijsen
a691b1205e
Send correct buffer slices to worker
2020-09-16 01:04:16 +02:00
Andreas Hocevar
bff25f9ba4
Bind tileUrlFunction before returning it from getTileUrlFunction
2020-09-10 10:10:52 +02: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
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