Guillaume Beraudo
89fed65f07
Fix incorrect Executor/Builder types
2018-11-15 23:27:43 +01:00
Guillaume Beraudo
eaed37da96
Fix width comparison
2018-11-15 20:03:35 +01:00
Guillaume Beraudo
b1a5f4855f
Create geometryWidths array only when needed
2018-11-15 20:03:34 +01:00
ahocevar
94bf02176e
Rename ExecutorGroup and move getMaxExtent to Executor
2018-11-15 20:03:34 +01:00
Guillaume Beraudo
f9dcadb982
Remove unused methods
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
0f5ced8483
Reduce usage of "replay" term
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
87a1b926c9
Cleanup executor of unused properties
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
4ba84d7926
Cleanly separate text building and execution
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
afc946b215
Cleanup duplicated and unused code
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
c0df61468f
Move drawText along line to executor
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
0ece0fb002
Cleanup unused text replay code
2018-11-15 15:20:41 +01:00
ahocevar
4ce19530ce
Remove unused methods
2018-11-15 15:20:41 +01:00
ahocevar
3d203f990e
Move measureTextWidths to render/canvas
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
3170355b07
Remove unused function from executor
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
f5a8ad63f9
Improve typing
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
f3bd08321a
Rename Replay to InstructionsBuilder
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
8097be8419
Remove replay code from Instruction Builder class
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
Olivier Guyot
593632daea
Fix the OverviewMap control & example
...
Layers must now always be specified for the control.
Base example was amended to reflect that.
The breaking change was added in the update notes.
2018-11-15 12:04:49 +01:00
Tim Schaub
7ae051c07a
Merge pull request #8937 from tschaub/debug-tiles
...
Make the tile debug source useful for understanding tiles
2018-11-14 17:06:52 +01:00
Frédéric Junod
7a472321c4
Merge pull request #8930 from fredj/better_export_example
...
Give the layers container a CSS class name
2018-11-14 16:24:12 +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
Frédéric Junod
19541699c3
Merge pull request #8910 from fredj/containsXY
...
Implements containsXY for all geometries
2018-11-14 16:23:26 +01:00
Tim Schaub
d6e8711172
Merge pull request #8922 from fgravin/layerrenderapi
...
Layer is reponsible for its renderer
2018-11-14 16:09:23 +01:00
Tim Schaub
0e91365859
Make the tile debug source useful for understanding tiles
2018-11-14 15:58:08 +01:00
Frederic Junod
bdf98d9003
Give the layers container an CSS class name
2018-11-13 17:04:07 +01:00
ahocevar
30909ddbcd
When rendering interim tiles, reuse existing replay groups
2018-11-13 16:08:49 +01:00
Frederic Junod
22eb96637f
Add new className property to ol/layer/Base
2018-11-13 13:09:06 +01:00
Florent gravin
c2c599a517
Layer is now responsible of its rendering
2018-11-13 12:51:04 +01:00
Florent gravin
d21a88edce
Remove map renderer dependency in layer renderer
2018-11-13 12:51:04 +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
Frederic Junod
09d87bf33d
Remove unneeded 'relative' positioning
2018-11-13 11:36:45 +01:00
Florent gravin
a6f94f865b
Clear canvas in prepareFrame()
2018-11-12 21:51:39 +01:00
Florent gravin
697e475ee4
Add composite renderFrame() in IntermediateCanvas
2018-11-12 21:51:39 +01:00
Florent gravin
4c787c7f57
Set composite root div position relative
2018-11-12 21:51:39 +01:00
Tim Schaub
04077675e1
Merge pull request #8916 from tschaub/intermediate-context
...
Move canvas creation to intermediate canvas renderer constructor
2018-11-12 13:07:01 -07:00
Tim Schaub
432b74d64d
Apply all transforms in the layer renderer
2018-11-12 20:57:36 +01:00
Tim Schaub
55a963e0a9
Move canvas creation to intermediate canvas renderer constructor
2018-11-12 20:57:07 +01:00
Tim Schaub
afc64258af
Support for rotation
2018-11-12 18:33:02 +01:00
timkeane
7274798aa1
Implement ol/geom/Geometry#containsXY
...
Fixes issue #8863
ol/source/Vector#getFeaturesAtCoordinate and
implementations of ol/geom/Geometry#containsXY
2018-11-12 17:15:44 +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
8bf252e70f
Handle layer opacity in the composite renderer
2018-11-12 15:16:06 +01:00
Tim Schaub
43ed2c1764
Composite renderer
2018-11-12 14:54:52 +01:00