simonseyock
c0000e745e
make resolution in getGetLegendGraphicUrl optional
2019-07-08 15:14:13 +02:00
Kai Volland
f493f01bd0
Introduces getGetLegendGraphic method
...
Adds the `getGetLegendGraphic` method to `ImageWMS` and `TileWMS` source.
Also adds an example and corresponding tests.
2019-07-08 15:14:13 +02:00
Andreas Hocevar
4a3e4c7c23
Merge pull request #9733 from ahocevar/apidoc-fixes
...
Get rid of JSDoc warnings and fix fires arguments
2019-06-29 14:40:08 +02:00
ahocevar
cb77f9e3dd
Get rid of JSDoc warnings and fix fires arguments
2019-06-29 10:25:35 +02:00
Andreas Hocevar
8ff29f8431
Merge pull request #9732 from ahocevar/vectortile-empty-key
...
Fix EMPTY state and source key handling
2019-06-29 10:18:53 +02:00
ahocevar
c4937bc716
Fix EMPTY state and source key handling
2019-06-28 23:25:36 +02:00
Olivier Guyot
034e0be76f
Vector Source / index all features by uid
...
Previously features were indexed by uid only when they
did not have a defined id.
A new method was added: `getFeatureByUid`. This is not part of
the public API.
This will facilitate the lookup of features for hit detection.
2019-06-28 09:06:16 +02:00
ahocevar
8cdfc6e17c
Do not use self to check browser features
2019-06-23 14:26:40 +02:00
Lutz Helm
d6dc7a926d
Fix several TypeScript type check problems
2019-06-21 15:26:28 +02:00
Frederic Junod
a8e0e4e960
Better documentation for getFeaturesInExtent function
2019-06-06 14:08:25 +02:00
Frederic Junod
50343afa61
Remove unnecessary typecasts in constructors options
2019-06-03 09:08:41 +02:00
Tim Schaub
deb00f20fe
Include full filename in import specifier
2019-05-29 08:51:10 -06:00
Frédéric Junod
c4e465dcf9
Merge pull request #9592 from fredj/f9587_layerIndex
...
Remove `layerState` param from `prepareFrame` and `renderFrame` function
2019-05-29 09:27:38 +02:00
Stéphane Brunner
889b6a9f43
Removes unnecessary type cast
2019-05-27 11:34:33 +02:00
Stéphane Brunner
970c1bcb66
Make the vector source geometry generic
2019-05-27 11:34:31 +02:00
Olivier Guyot
051cc68f24
Merge pull request #9596 from jahow/fix-source-missing-event
...
Vector source / prevent adding features with duplicate id in the collection
2019-05-26 10:53:58 +02:00
Frederic Junod
40c49a9ce5
Remove layerState param from prepareFrame and renderFrame function
2019-05-25 07:19:10 +02:00
Olivier Guyot
442fa907ce
Vector source / prevent adding features with duplicate id...
...
...in the collection.
Previously two features with the same id could be pushed manually in the
features collection and stay there.
This would cause an error when clearing the source.
Fixes #6183 .
2019-05-24 23:29:48 +02:00
Andreas Hocevar
96331c5d95
Merge pull request #9584 from ahocevar/reuse-render-target
...
Reuse render target
2019-05-24 10:33:36 +02:00
ahocevar
7895b16043
Reuse container for raster and vector image layers
2019-05-22 16:47:20 +02:00
robert
7e4e113ac9
lint fix
...
Signed-off-by: robert <24939343+engsterhold@users.noreply.github.com >
2019-05-21 12:32:30 +02:00
engsterhold
f77b0941b8
fixed styling
2019-05-17 13:52:10 +02:00
engsterhold
e69b15d33e
Bandaid fix for change in Zoomify.js/CustomTile signature
...
The recent addition of tilePixelRatio to the Zoomify.js/CustomTile constructor broke parameter binding in IIIF.js/IIIF.
The fix mirrors the change in the Zoomify.js/Zoomify constructor
2019-05-16 16:10:58 +02:00
Frederic Junod
bfe6d29601
Fix spelling
2019-05-14 09:17:34 +02:00
Tim Schaub
8504a49e17
Merge pull request #9489 from crubier/master
...
Fix Zoomify to display retina tiles
2019-05-13 19:05:31 -06:00
Frédéric Junod
a2e6d4b324
Merge pull request #9522 from fredj/https
...
Use https urls for mapbox.com
2019-05-13 14:50:37 +02:00
Frederic Junod
23137cdab3
Use https urls for mapbox.com
2019-05-13 14:16:18 +02:00
Lutz Helm
1d08eb5752
Give a hint on how to parse IIIF info.json
2019-05-13 12:27:14 +02:00
Lutz Helm
5e288ebedf
Improve IIIF tile source doc
2019-05-13 11:15:20 +02:00
Lutz Helm
64e67ae351
Correct IIIF tile source doc
2019-05-09 18:00:18 +02:00
Lutz Helm
12154d98b4
Improve IIIF tile source documentation
2019-05-09 18:00:18 +02:00
Lutz Helm
27d943dcc3
Add tests for IIIF tile source and fix source
...
The tests are still incomplete.
This commit also corrects the IIIF source where tests have failed.
2019-05-09 18:00:18 +02:00
Lutz Helm
3cf9b5aa28
Add zDirection option to IIIF tile source
2019-05-09 18:00:18 +02:00
Lutz Helm
b77177ed74
Fix errors in IIIF code
...
- missing import in IIIFInfo
- syntax errors in IIIF
2019-05-09 18:00:18 +02:00
Lutz Helm
f61562a51a
Remove unsupported options, document options
2019-05-09 18:00:18 +02:00
Lutz Helm
063bc51c59
Rename IIIF features to supports
...
Avoid terminology confusion between OpenLayers map features and IIIF
region/size calculation capability features.
2019-05-09 18:00:18 +02:00
Lutz Helm
3f3fbe7e4b
Remove IIIF source rounding workarounds
...
Always try to use canonical URI form. If the server serves wrong tile
heights for given w, shaped size request URI parameters, so be it.
2019-05-09 18:00:18 +02:00
Lutz Helm
0ab7ad741f
Add error codes for IIIF errors
...
60: "Missing or invalid `size`."
Without at least a size, no IIIF can be displayed.
61: "Cannot determine IIIF Image API version from provided image
information JSON."
Without finding out the version information, one could only guess how to
use the image info JSON.
2019-05-09 18:00:18 +02:00
Lutz Helm
58efe1f850
Limit IIIF tile source percentages to 10 decimals max
...
IIIF Image API versions 1 and 2 recommend limiting the number of
decimals digits to 10 at most.
2019-05-09 18:00:18 +02:00
Lutz Helm
66b41a53b8
Fix error in IIIF v3 level0 size paramter
...
Size request parameter in w,h form for level 0 services that only support
listed sizes had been using erroneous w,w instead of w,h.
2019-05-09 18:00:18 +02:00
Lutz Helm
c00400c500
Add IIIF Image API tilesource with example
...
src/ol/source/IIIF.js contains a tile source for IIIF Image API services.
It supports Image API version 1 and 2 on compliance levels 0, 1 and 2.
To get working constructor options for IIIF from an IIIF image info.json,
use src/ol/format/IIIFInfo.js.
An example is available in examples/iiif.html respectivly examples/iiif.js.
2019-05-09 18:00:18 +02:00
Vincent Lecrubier
ea55f39298
Support tilePixelRatio in Zoomify to support retina
2019-05-08 22:52:14 +02:00
Frederic Junod
0e08d9e0fd
Add empty declutterItems in RasterSource frameState
...
To please the type checker.
2019-05-07 13:52:25 +02:00
Andreas Hocevar
046e73e785
Merge pull request #9439 from ahocevar/vectortile-attributions
...
Add attributionsCollapsible option to source/VectorTile
2019-04-18 07:36:50 -07:00
ahocevar
887d8e8a90
Disable opacity transition for raster source sources
2019-04-17 17:38:50 -07:00
ahocevar
756f63e212
Add attributionsCollapsible option to source/VectorTile
2019-04-17 09:06:37 -07:00
Frederic Junod
617dd9f031
Remove opt_this param in ol/structs/RBush
2019-04-08 13:46:54 +02:00
Andreas Hocevar
7ebae2ba80
Fix typo in vector tile source docs
2019-03-26 14:54:44 +01:00
Andreas Hocevar
1be6050da8
Merge pull request #9360 from KaiVolland/9281-rastersouce-attributions
...
Enables attributions for the RasterSource
2019-03-25 12:10:57 +01:00
Kai Volland
62ebe29ead
Enables attributions for the RasterSource
...
Attributions included in the passed sources are concatenated.
2019-03-25 11:47:45 +01:00