Andreas Hocevar
a4735e0700
Merge pull request #10478 from ahocevar/abort-without-dispose
...
Do not abort and dispose of tiles
2020-01-09 09:52:07 +01:00
mike-000
cb665b7ea7
Simplify to return false if layer has no source
2020-01-06 17:31:38 +00:00
Andreas Hocevar
da6eed850c
Do not lock label cache entries
2020-01-05 11:24:46 +01:00
mike-000
f48704cac4
Fix for undefined source in Vector layer
...
A source left or set undefined is equivalent to an empty source so treat it as such to prevent errors in prepareFrame
2020-01-01 21:04:12 +00:00
Andreas Hocevar
9317ad850e
Create hit detection data per layer and without requestAnimationFrame
2019-11-20 00:50:43 +01:00
Andreas Hocevar
3de05c249b
Fix container transform comparison
2019-10-31 20:29:20 +01:00
Andreas Hocevar
90d6a6f441
Move hit detection to its own module
2019-10-14 14:40:06 +02:00
Andreas Hocevar
e9785317eb
Move hit detection code to Immediate.js
2019-10-08 08:23:38 +02:00
Andreas Hocevar
315695eeb8
New Layer#getFeatures method with fast hit detection for VectorLayer
2019-10-08 08:23:38 +02:00
Tim Schaub
d3b47c794e
Make the immediate API work with a user projection
2019-09-30 08:28:50 -06:00
Simon Seyock
54cbe14f88
Check hits for wrapped around geometries
2019-09-26 11:46:10 +02:00
Simon Seyock
6b5c2f47bb
reduced typecasts in layerrenderer
2019-09-25 15:24:37 +02:00
Tim Schaub
30cbbfea9d
Get simplified transformed geometry and load features in user projection
2019-09-24 17:45:04 +02:00
Tim Schaub
3c38a38570
Merge pull request #9961 from KlausBenndorf/remove-select-interaction
...
SelectInteraction removal
2019-09-24 10:27:20 +02:00
Simon Seyock
acac7a9403
remove skipFeature logic
2019-09-24 10:12:30 +02:00
Tim Schaub
54d3af40dd
Transform the layer extent when a user projection is set
2019-09-23 17:23:20 +02:00
ahocevar
ebfb20440a
Simplify events and store listeners only in one place
2019-09-04 16:48:43 +02:00
Tim Schaub
99462d3b53
Only get squared tolerance once per render
2019-08-17 07:10:10 -06:00
Maximilian Krög
200392785d
Squared tolerance does not change for each style.
2019-08-17 11:15:06 +02:00
Frederic Junod
ec5e8bfa50
Set pixelTransform and inversePixelTransform as protected
...
The variables are used in child classes
2019-06-14 14:52:28 +02:00
Frederic Junod
40c49a9ce5
Remove layerState param from prepareFrame and renderFrame function
2019-05-25 07:19:10 +02:00
ahocevar
ace5c65ee5
Smarter opacity handling
2019-05-22 16:47:23 +02:00
ahocevar
ae47d3df58
Use opacity from layer state
2019-05-22 16:47:22 +02:00
ahocevar
c56ad4363d
Canvas opacity instead of css
2019-05-22 16:47:22 +02:00
ahocevar
a45e704be2
Smarter reuse detection
2019-05-22 16:46:46 +02:00
ahocevar
335648d613
Remove memory leak caused by label cache listeners
2019-05-16 21:04:55 +02:00
ahocevar
eeec56fa94
Fix hit detection for multiple layers when decluttering is off
2019-05-12 23:32:44 +02:00
ahocevar
12289b8ef9
Declutter in correct order and for all layers
2019-05-05 12:20:38 +02:00
Frederic Junod
427c73ddf9
Remove unnecessary type cast
...
`npx tsc` output is the same before and after the changes.
2019-02-05 11:46:12 +01:00
Frederic Junod
0b53a3229b
Remove unneeded type cast
2019-02-04 09:58:49 +01:00
ahocevar
592b6cf362
Keep track of used labels
2019-01-23 21:52:22 +01:00
Frederic Junod
8dbe8bc34e
Parse the opacity from style as float
2019-01-22 12:48:14 +01:00
ahocevar
f4aec3fd01
Remove unused Builder/Executor functions and members
2018-11-25 20:06:37 +01:00
Tim Schaub
5d528dca3b
Target, source arg order for make* transform functions
2018-11-17 16:28:29 +01:00
Tim Schaub
af10f6a75c
Use the inverse pixel transform in pre/post render events
2018-11-17 16:28:28 +01:00
Tim Schaub
686847f491
Make forward and inverse pixel transforms during render
2018-11-17 16:28:27 +01:00
Tim Schaub
bc347e3eb0
Provide a pixel transform to render events
2018-11-16 14:57:12 +01:00
Tim Schaub
f90efac131
Smaller canvas when rotating vector layers
2018-11-16 14:57:11 +01:00
Tim Schaub
b5378deb45
Create context in the canvas layer base class
2018-11-16 14:57:11 +01:00
ahocevar
5fffb67242
Clear canvas when nothing to replay
2018-11-16 14:56:49 +01:00
Tim Schaub
433ab97d1c
End of composeFrame
2018-11-16 14:56:48 +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
ahocevar
94bf02176e
Rename ExecutorGroup and move getMaxExtent to Executor
2018-11-15 20:03:34 +01:00
Guillaume Beraudo
0f5ced8483
Reduce usage of "replay" term
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
ba6a6fff7d
Module renaming
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
e299863117
More renaming
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
fcf470fc8d
Introduce Instruction executors
...
Executors are use to render instructions.
They do not contain cod for building instructions.
Signed-off-by: Guillaume Beraudo <guillaume.beraudo@camptocamp.com >
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
ecf79a9ec2
First step in uncoupling replay creation and rendering
...
Signed-off-by: Guillaume Beraudo <guillaume.beraudo@camptocamp.com >
2018-11-15 15:20:41 +01:00