Andreas Hocevar
1c4cfc9559
Merge pull request #9024 from ahocevar/imagelayer-events
...
Add prerender and postrender events for Image layer
2018-12-07 07:46:39 +01:00
ahocevar
6cabb9dd0b
Remove drag segments of removed features
2018-12-05 12:02:35 +01:00
ahocevar
976863c376
Add prerender and postrender events for Image layer
2018-12-02 21:05:20 +01:00
ahocevar
f4aec3fd01
Remove unused Builder/Executor functions and members
2018-11-25 20:06:37 +01:00
Frederic Junod
e66a84c897
Add imageRatio option for VectorImage layers
2018-11-22 09:38:08 +01:00
Tim Schaub
e9a30c5cb7
Use standard tile coords
2018-11-21 11:14:17 -07:00
Tim Schaub
37c987de0a
Move quadKey function to the one place it is used
2018-11-21 10:10:51 -07:00
Tim Schaub
c6be2c7ff5
Merge pull request #8977 from jahow/add-webgl-rendering-tests
...
Add WebGL rendering tests & improve the WebGLHelper API
2018-11-20 03:59:06 -08:00
Tim Schaub
8b50c3c6cb
Pass along the ability to measure and cache text width
2018-11-19 15:34:48 -07:00
jahow
6b82cf0b84
Simplified the API of WebGLHelper
...
Now the shader and program caches are simply arrays of native WebGL created objects.
The WebGLHelper simply takes the sources of the frag and vert shader and produces a program.
This removes 2 classes & reduces the general verbosity of the API.
Also a `getShaderCompilationErrors` was added on `WebGLHelper` to help debug GLSL errors.
2018-11-19 13:11:23 +01:00
Frédéric Junod
140e8b59bb
Merge pull request #8968 from fredj/Object.values
...
Use Object.values if available
2018-11-18 00:16:01 +01:00
Tim Schaub
5d528dca3b
Target, source arg order for make* transform functions
2018-11-17 16:28:29 +01:00
Tim Schaub
db1f432197
Function for making a scale transform
2018-11-17 16:28:27 +01:00
Tim Schaub
63cf21b668
Dedicated function for inverting a transform without modifying the source
2018-11-17 16:28:27 +01:00
Frederic Junod
4a3a53c725
Use Object.values if available
...
As `Object.values`, the arguments now can't be `null` or `undefined`.
2018-11-17 14:59:36 +01:00
Frederic Junod
6219e31e40
Add index to the Collection events
2018-11-17 08:43:35 +01:00
ahocevar
95c16cfa11
Fix vector tile renderer test
2018-11-16 17:05:44 +01:00
ahocevar
edbe2316ef
Lazily create interim tiles (fixes most tests)
2018-11-16 15:03:28 +01:00
Tim Schaub
9eb5808844
Test that postrender is dispatched (again)
2018-11-16 14:57:18 +01:00
Tim Schaub
96437e3875
Test prerender and postrender events for a vector layer
2018-11-16 14:57:18 +01:00
Tim Schaub
3ecc6d60d2
The forEachLayerAtPixel method calls getDataAtPixel for each layer renderer
2018-11-16 14:57:17 +01:00
Tim Schaub
47ecd508fa
Test hybrid mode in vt constructor
2018-11-16 14:57:17 +01:00
Tim Schaub
7a82904a3b
Unused intermediate canvas renderer
2018-11-16 14:57:13 +01:00
Tim Schaub
20e5841aed
Remove vector mode for vector tile rendering
2018-11-16 14:56:48 +01:00
Tim Schaub
433ab97d1c
End of composeFrame
2018-11-16 14:56:48 +01:00
Tim Schaub
c612cce591
Give the map some height for the box tests
2018-11-16 14:56:47 +01:00
Tim Schaub
f2cab1fcbb
Give the map some height for scale line tests
2018-11-16 14:56:47 +01:00
Olivier Guyot
40d5f4efe7
Added unit tests for the WebGLHelper class
2018-11-16 14:05:06 +01:00
Olivier Guyot
72cf7b13fa
removed existing webgl rendering unit tests
2018-11-16 14:05:04 +01:00
Andreas Hocevar
36cf7227c0
Merge pull request #8926 from gberaudo/replay_refactoring
...
Uncouple replay creation and rendering
2018-11-16 13:54:18 +01:00
Guillaume Beraudo
81d0bc21d5
Pass instructions to executor constructor
2018-11-16 12:36:50 +01:00
Guillaume Beraudo
ce44a9a3e4
Final renamings
2018-11-15 23:46:20 +01:00
Guillaume Beraudo
89fed65f07
Fix incorrect Executor/Builder types
2018-11-15 23:27:43 +01:00
Guillaume Beraudo
da92b2ab3f
Improve text replay test
2018-11-15 23:01:45 +01:00
ahocevar
94bf02176e
Rename ExecutorGroup and move getMaxExtent to Executor
2018-11-15 20:03:34 +01:00
Olivier Guyot
d5c390e726
Fixed tests & linting
2018-11-15 17:12:40 +01:00
Guillaume Beraudo
0f5ced8483
Reduce usage of "replay" term
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
5ecd832c92
Adapt test to new text builder behaviour
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
951d4d5ade
Fix tests
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
e299863117
More renaming
2018-11-15 15:20:41 +01:00
timkeane
5967bc75ba
ol/geom/MultiLineString#containsXY
2018-11-12 17:15:22 +01:00
timkeane
c1963ba369
ol/geom/LineString#containsXY
2018-11-12 17:15:10 +01:00
timkeane
58b474225c
ol/geom/MultiPoint#containsXY
2018-11-12 17:14:38 +01:00
timkeane
daffbde80b
ol/geom/Point#containsXY
2018-11-12 17:14:07 +01:00
Tim Schaub
fc6882f146
Utility method for efficiently managing child nodes
2018-11-12 14:54:12 +01:00
Tim Schaub
2ec509fbca
Add an image vector layer for rendering vectors to an image
2018-11-12 14:54:11 +01:00
Tim Schaub
5dfa82c27e
Create context in vector tile layer constructor
2018-11-04 17:43:04 -07:00
ahocevar
1cdd040c96
Throw when calling abstract methods; fix abstract return types
2018-10-30 18:55:49 +01:00
ahocevar
f82619d6d0
Make rendercomplete work with vector sources without loader
2018-10-24 18:37:51 +02:00
Frederic Junod
041836c645
Change getUid return type from number to string
2018-10-17 10:22:53 +02:00