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
Frédéric Junod
4adcb5ae6c
Merge pull request #8914 from fredj/layer_className
...
Add new className property to ol/layer/Base
2018-11-14 16:23:56 +01:00
Frederic Junod
22eb96637f
Add new className property to ol/layer/Base
2018-11-13 13:09:06 +01:00
Frederic Junod
1e1dca5342
Remove unneeded type cast
2018-11-13 12:09:09 +01:00
Frederic Junod
5eed22286b
Don't compute value more that once
2018-11-13 12:08:53 +01:00
Tim Schaub
432b74d64d
Apply all transforms in the layer renderer
2018-11-12 20:57:36 +01:00
Tim Schaub
afc64258af
Support for rotation
2018-11-12 18:33:02 +01:00
Tim Schaub
43ed2c1764
Composite renderer
2018-11-12 14:54:52 +01:00
Tim Schaub
7374e32007
Canvas layer renderers are now dependencies of layers
2018-11-12 14:54:11 +01:00
Frederic Junod
3cf4dbfcc6
Simplify import path in ol/renderer/
2018-11-05 16:26:45 +01:00
Frederic Junod
041836c645
Change getUid return type from number to string
2018-10-17 10:22:53 +02:00
Andreas Hocevar
cbd6aabea2
Merge pull request #8773 from schmidtk/ts-renderer-canvas
...
Fix type check errors in ol/renderer/canvas
2018-10-03 10:29:29 +02:00
Kevin Schmidt
d3e34f95c9
Fix type check errors in ol/renderer/canvas/VectorLayer
2018-10-02 15:24:51 -06:00
Frederic Junod
ae87cad7ef
Use FeatureLike typedef
...
Use `import("./Feature.js").FeatureLike` typedef instead of `import("./Feature.js").default|import("./render/Feature.js").default`
2018-10-02 12:58:56 +02:00
Frederic Junod
ea616e7751
Don't import ourselves
2018-09-06 09:05:32 +02:00
Tim Schaub
ccfacc5ee6
Transformed types
...
Using the [ts.js codemod](https://gist.github.com/tschaub/1ea498c9d1e5268cf36d212b3949be4e ):
jscodeshift --transform ts.js src
2018-09-05 08:05:29 -06:00
ahocevar
b9aceb23ac
Let renderer decide whether to snapToPixel or not, also for text
2018-08-09 18:16:58 +02:00
ahocevar
2f92e48e93
Use super.method instead of prototype.method.call
2018-08-06 15:30:17 +02:00
Tim Schaub
affbf59b77
Use Object<Foo, Bar> instead of Object.<Foo, Bar>
2018-07-25 18:33:49 -07:00
Tim Schaub
d12ef20b12
Use Array<Foo> instead of Array.<Foo>
2018-07-25 18:32:43 -07:00
Jaap Koelewijn
2769953204
Fix JSDoc such that ng build --prod with angular/cli 6.0.8 succeeds again.
2018-07-23 01:05:26 +02:00
ahocevar
bbe0a66d07
Set api annotation on classdesc, not constructor
2018-07-21 17:25:22 +02:00
Tim Schaub
b8c9125602
Remove lint
2018-07-18 10:35:54 -06:00
Tim Schaub
792e7e54f1
Clean up ol/renderer/canvas classes
2018-07-17 18:15:47 -06:00
Tim Schaub
7b4a73f3b9
Automated class transform
...
npx lebab --replace src --transform class
2018-07-16 16:18:16 -06:00