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
Frederic Junod
6b1bce2b9d
Add missing className property to BaseTile layer options
2019-05-07 14:54:46 +02:00
Andreas Hocevar
6e3d3d4877
Merge pull request #9466 from ahocevar/declutter-global
...
Declutter in correct order and for all layers
2019-05-07 14:33:24 +02:00
Frederic Junod
d30f6175ce
Add function JSDoc tag
2019-05-07 13:52:48 +02:00
Frederic Junod
0e08d9e0fd
Add empty declutterItems in RasterSource frameState
...
To please the type checker.
2019-05-07 13:52:25 +02:00
Simon Seyock
8f3820be22
Fix earth radius in documentation
2019-05-06 16:26:49 +02:00
Andreas Hocevar
e4d25400ee
Merge pull request #9490 from jahow/improve-webgl-doc
...
Misc. API doc improvements
2019-05-05 19:30:12 +02:00
ahocevar
6c8c8a6477
Fix decluttering on VectorImage layers
2019-05-05 14:54:23 +02:00
ahocevar
ba6ac43a28
Fix zIndex handling for unmanaged layers
2019-05-05 13:24:46 +02:00
ahocevar
12289b8ef9
Declutter in correct order and for all layers
2019-05-05 12:20:38 +02:00
Olivier Guyot
f69c37566e
Improve documentation on webgl and View
2019-05-04 17:26:05 +02:00
Tim Schaub
9850c0134e
Merge pull request #9476 from tschaub/event-longnames
...
Document events fired by interactions
2019-05-01 10:04:58 -06:00
Tim Schaub
0f998b4522
Link to the extent event instead of the extent event type
2019-04-28 16:36:33 -06:00
Tim Schaub
3b1a415d6b
Call the color callback once per feature
2019-04-28 14:09:31 -06:00
ahocevar
dde9c59021
Use nearest lower resolution of vector tiles
2019-04-26 14:29:09 +02:00
Tim Schaub
9a12a668a2
Merge pull request #9452 from tschaub/color-callback
...
Fewer calls to the WebGL color callback
2019-04-24 09:46:41 -06:00
Tim Schaub
b98268ffee
Merge pull request #9453 from tschaub/for-key-in-uniforms
...
Remove unnecessary closure and fix uniform type
2019-04-23 17:20:26 -06:00
Tim Schaub
58c4c9ebb8
Remove unnecessary closure and fix uniform type
2019-04-19 14:33:43 -07:00
Tim Schaub
a16234faaa
Allow color callback without third arg
2019-04-19 13:57:40 -07:00
Tim Schaub
154265a2d9
Fewer calls to the color callback
2019-04-19 13:49:53 -07:00
ahocevar
86fac0937b
Set the interacting flag on pointerdrag instead of pointerdown
2019-04-19 09:42:12 -07: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
752b69680e
Do not round view center to pixels
2019-04-17 15:52:58 -07:00
ahocevar
756f63e212
Add attributionsCollapsible option to source/VectorTile
2019-04-17 09:06:37 -07:00
Frederic Junod
08dd5f58a2
Set the default values after the property name
2019-04-15 16:44:06 +02:00
Frédéric Junod
04963c83d6
Merge pull request #9433 from fredj/cleanup
...
Remove unused private variables, remove trailing whitespace
2019-04-15 13:36:54 +02:00
Frederic Junod
711dacf4b7
Remove unused private variables, remove trailing whitespaces
2019-04-15 11:31:18 +02:00
Frédéric Junod
6fbd196132
Merge pull request #9416 from fredj/circle_rotate
...
Implement rotate and translate functions for circle geometry
2019-04-15 08:22:29 +02:00
Frederic Junod
491020f027
Remove unused ol/render/webgl module
2019-04-11 16:37:50 +02:00
Frederic Junod
2989c84248
Implement translate function for circle geometry
2019-04-11 16:12:41 +02:00
Frédéric Junod
c6db2d07bb
Use .js extension for import
...
Co-Authored-By: ahocevar <andreas.hocevar@gmail.com >
2019-04-10 09:09:50 +02:00
ahocevar
91215b303e
Re-export GeometryCollection in ol/geom
2019-04-09 20:08:11 +02:00
Frederic Junod
319a905ec0
Implement rotate function for circle geometry
2019-04-09 16:58:44 +02:00
Frederic Junod
238fbca650
Add new maxDelta property to MouseWheelZoom constructor
2019-04-08 15:02:21 +02:00
Frederic Junod
187f58c1c3
Remove opt_this param in ol/extent
2019-04-08 13:46:54 +02:00
Frederic Junod
c20bdedcac
Remove opt_this param in ol/structs/LRUCache
2019-04-08 13:46:54 +02:00
Frederic Junod
617dd9f031
Remove opt_this param in ol/structs/RBush
2019-04-08 13:46:54 +02:00
Andreas Hocevar
10a2b718f5
Merge pull request #9286 from ahocevar/interim-transition
...
Disable transition when an interim tile is available
2019-04-05 17:33:58 +02:00
ahocevar
16e132caea
Mark new animate_ method private
2019-04-05 17:21:23 +02:00
ahocevar
070c1ec029
Resolve constraints for View#animate() API calls
2019-04-05 17:13:55 +02:00
Olivier Guyot
0f73f16cfa
View / apply constraints when an interaction starts
...
Previously, an interaction could begin while target values
(center/resolution) were out of the allowed range, causing a
glitch where the view zoom/position would jump suddenly.
2019-04-05 11:55:35 +02:00
Olivier Guyot
c6a859d1ed
Webgl / clarify premultiplied alpha handling
...
By default, alpha premultiplying should be done by the initial rendering
(eg quads) and not the final post processing pass.
The default post processing pass expects premultiplied color values and
will not do this operation itself.
2019-04-02 22:12:47 +02:00
Olivier Guyot
b955579a9c
Webgl / clarified the buffer binding/flushing logic
...
The Webgl points layer renderer has also been optimized accordingly,
giving out much better performance.
2019-04-02 21:05:31 +02:00
Kai-W
275a22b685
Added clear of the render Buffers on Source Change
2019-03-28 17:21:43 +01:00
Andreas Hocevar
7ebae2ba80
Fix typo in vector tile source docs
2019-03-26 14:54:44 +01:00