Frederic Junod
a0e6af425e
Add tests for listenImage function, fix private variables initialization
2019-05-16 16:42:37 +02:00
Tim Schaub
442fbb13d2
Merge pull request #9550 from tschaub/worker
...
Setup for building workers
2019-05-16 07:02:34 -06:00
Frederic Junod
c2058af13a
Remove unused roundUpToPowerOfTwo function
2019-05-16 12:11:58 +02:00
Andreas Hocevar
1fc75fdc68
Merge pull request #9500 from edellucien/kml_extended_data
...
KML string validation with extendedData
2019-05-16 09:20:03 +02:00
Tim Schaub
b7b37f9548
Add worker loader to the tests
2019-05-15 16:49:54 -06:00
Tim Schaub
eafb657264
Merge pull request #9545 from tschaub/default-view-extent
...
Avoid panning off the edge of the world
2019-05-15 04:58:29 -06:00
Andreas Hocevar
11607caa81
Merge pull request #9536 from ahocevar/font-cache-hits
...
More font cache hits
2019-05-15 12:13:40 +02:00
ahocevar
41e958ea1f
Split text into single chars or don't split at all
2019-05-15 11:55:29 +02:00
Olivier Guyot
e11e3c5f6e
Webgl / minor function renaming
2019-05-15 11:30:24 +02:00
Olivier Guyot
c705775d75
Linting
2019-05-15 10:20:31 +02:00
Olivier Guyot
5d2b7fe4bb
Webgl points / use the helper ton compute the projection transform
...
The `WebGLHelper` class now provides a `makeProjectionTransform` method
that updates a transform to match the projection for a given frame state.
This also means that the WebGLHelper does not set the projection matrix
uniform anymore, this is the responsibility of the renderer as
the rendered coordinates will not be in world space from now on.
2019-05-15 10:18:47 +02:00
Olivier Guyot
3e2e45ce6d
Webgl helper / add the possibility to use transforms as custom uniforms
...
These will be translated into 4x4 matrices in GLSL.
2019-05-15 10:18:47 +02:00
Olivier Guyot
75eb62363a
WebGL points / rebuild buffers only when extent changed
2019-05-15 10:18:47 +02:00
Olivier Guyot
523097903a
WebGL points / rebuild buffers on every non animation frame
2019-05-15 10:18:22 +02:00
Olivier Guyot
c6d214b585
Webgl / implement support for custom attributes in webgl buffers
...
Only numerical attributes can be pushed in webgl buffers.
2019-05-15 10:15:55 +02:00
Olivier Guyot
3a429d3f6c
Webgl / add utils for pushing geojson geometries in webgl buffers
...
For now only point geometries are handled.
2019-05-15 09:44:41 +02:00
Olivier Guyot
5e36468245
Webgl / add a simple Layer renderer for common logic
...
This will eventually provides utilities for manipulating & rendering data
2019-05-15 09:43:29 +02:00
Olivier Guyot
a2d83f5358
WebGL points / add minimal tests
2019-05-15 09:42:15 +02:00
Tim Schaub
217c6ba764
Avoid panning off the edge of the world
2019-05-14 20:15:51 -06:00
Olivier Guyot
14f580fe30
Layer / accepts a custom render function
2019-05-13 16:16:53 +02:00
Lutz Helm
c2cbae95c6
Fix codestyle in IIIFInfo tests
2019-05-09 18:00:18 +02:00
Lutz Helm
b36ad87cb5
Extend IIIFInfo tests
2019-05-09 18:00:18 +02:00
Lutz Helm
7bfaa3b6ad
Refactor IIIFInfo and add tests
2019-05-09 18:00:18 +02:00
Lutz Helm
3895a59c5e
Fix typo
2019-05-09 18:00:18 +02:00
Lutz Helm
c25dba415f
Add more IIIF tile source tests
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
lucien
81f99f1579
Write placemark's ExtendedData tag after Style tag
2019-05-07 09:02:28 +02:00
ahocevar
12289b8ef9
Declutter in correct order and for all layers
2019-05-05 12:20:38 +02:00
Olivier Guyot
d3e6f4c3b2
Restore code coverage in Karma config
...
The transpiling step is done by babel instead of bublé now.
Bublé caused the istanbul instrumenter step to crash because of an
unexpected SourceMap object format.
2019-05-03 15:15:14 +02:00
ahocevar
dde9c59021
Use nearest lower resolution of vector tiles
2019-04-26 14:29:09 +02:00
ahocevar
752b69680e
Do not round view center to pixels
2019-04-17 15:52:58 -07:00
Frederic Junod
2989c84248
Implement translate function for circle geometry
2019-04-11 16:12:41 +02:00
Frederic Junod
319a905ec0
Implement rotate function for circle geometry
2019-04-09 16:58:44 +02:00
Frederic Junod
746f92d597
Fix tile state condition in raster layer test
...
The state was duplicated from the beginning, see 3ddb8712a3
2019-04-08 17:04:37 +02:00
Frederic Junod
187f58c1c3
Remove opt_this param in ol/extent
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
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
Kai Volland
c9939d2bff
Replaces reproj image.tests.js and tile.tests.js
...
Transforms the old rendering tests for
ReprojImage and ReprojTile to the new
rendering test approach.
2019-04-03 11:01:32 +02:00
Kai Volland
94edf32540
Removes artifacts of old rendering test approach
...
Data and comparison images of the old rendering test approach
are removed as every test is transformed to the new approach.
2019-04-01 15:56:03 +02:00
Kai Volland
91d2f98774
Replaces listener test in tile.tests.js
...
Transforms the old render listener test to
the new rendering test approach.
2019-04-01 15:53:19 +02:00
Andreas Hocevar
9eb9fffc94
Merge pull request #9368 from ahocevar/multiworld
...
Show only one world
2019-03-26 14:17:21 +01:00
Marc Jansen
061965ecb7
Merge pull request #9362 from KaiVolland/text-rendering
...
Use local font "Ubuntu Regular" for rendering tests
2019-03-25 22:08:05 +01:00
Andreas Hocevar
3a7f9d93f4
Merge pull request #9357 from ahocevar/vectortile-view-resolution-2
...
Render vector tiles at the view resolution
2019-03-25 17:44:31 +01:00
ahocevar
3940b5ec88
Show only one world
2019-03-25 14:49:13 +01:00
Andreas Hocevar
a95481a8fe
Merge pull request #9374 from jahow/fix-initialzoom
...
Fix view initialization with min/max resolution constraint
2019-03-25 14:33:25 +01:00
Olivier Guyot
98994cad61
View / tests now pass without smoothResolutionConstraint: false
2019-03-25 13:21:10 +01:00
Olivier Guyot
b63c4188e4
View / add tests for parameter initialization with constraints
2019-03-25 13:18:49 +01:00
Andreas Hocevar
f32e097051
Merge pull request #9364 from KaiVolland/clip-rendering
...
Replace clip.test.js with new tests
2019-03-25 12:18:37 +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