Commit Graph

1865 Commits

Author SHA1 Message Date
mike-000
13e1ae9574 Use tilegrid extent as default attributionExtent
Test attributions
2020-12-29 13:29:57 +00:00
mike-000
d42b7d4fba Update TMS tileUrlFunction example 2020-11-18 11:11:06 +00:00
mike-000
d4f7b40b95 Update TMS tileUrlFunction example 2020-11-18 10:44:41 +00:00
Maximilian Krög
2ebe90f9d3 Add transition option to OSM and CartoDB sources, document default 2020-11-07 22:37:10 +01:00
Andreas Hocevar
b55d50d141 Merge pull request #11628 from simonseyock/vector-source-load-events
VectorSource load events
2020-10-27 19:42:45 +01:00
Simon Seyock
9b6114b768 Added clearer documentation 2020-10-27 09:35:38 +01:00
Simon Seyock
1bafab49f5 Added FEATURELOADSTART, FEATURELOADEND and FEATURELOADERROR events. 2020-10-25 21:38:57 +01:00
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
Simon Seyock
393e83cd29 Extending FeatureLoader type and refactoring loadFeaturesXhr 2020-10-06 10:29:07 +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