Andreas Hocevar
ca23c7337f
Merge pull request #6361 from tchandelle/canvas-margin
...
Remove "margin" at the bottom of the canvas
2017-02-06 14:47:16 +01:00
Thomas Chandelle
ade0b7898b
Remove "margin" at the bottom of the canvas
2017-02-03 16:54:29 +01:00
Andreas Hocevar
ec8d8228cf
Less redraws while zooming in
2017-02-02 22:14:01 +01:00
Andreas Hocevar
72af545a4a
Avoid oversampling when view resolution lower than tile resolution
2017-02-02 22:13:25 +01:00
Frederic Junod
546fc97cd4
Add abstract tag at class level
2017-01-30 17:16:01 +01:00
Frederic Junod
01e161e19f
Remove unused private variable
2017-01-10 08:50:39 +01:00
Tim Schaub
137cdc04c8
Remove ol.DEBUG
2017-01-01 20:37:52 -07:00
Tim Schaub
afefe66af8
Make layers responsible for creating layer renderers
2016-12-28 14:09:13 -07:00
Tim Schaub
5b937f02ae
Shared module for vector tile render type enum
2016-12-27 13:42:44 -07:00
Tim Schaub
895a506025
Remove state enum from tile constructor
2016-12-27 10:17:26 -07:00
Tim Schaub
3852c0da83
Remove hint enum from view constructor
2016-12-27 10:17:26 -07:00
Tim Schaub
7a95947dbb
Dedicated module for render event type enum
2016-12-27 10:17:17 -07:00
Andreas Hocevar
0e55e0625e
Use interim tiles
2016-12-21 14:42:12 +01:00
Tim Schaub
35b950cc40
Avoid modifying coordinate in forEachLayerAtCoordinate
2016-12-19 14:00:34 -07:00
Tim Schaub
3a61344b1c
Add missing require for ol.View
2016-12-18 15:26:21 -07:00
Andreas Hocevar
3e8c8791d0
Take image pixel ratio into account for rendered resolution
2016-12-14 23:53:44 +01:00
Andreas Hocevar
85f7a7c843
Re-render vector tiles when layer has changed
2016-12-14 14:45:02 +01:00
simonseyock
f28e0ebc1f
Added hitTolerance parameter to reworked files
2016-12-08 10:21:57 +01:00
simonseyock
00a4f3b410
buffering extent by resolution*hitTolerance
2016-12-08 10:14:09 +01:00
simonseyock
eede027417
Added buffer to ol.renderer.canvas.VectorTileLayer#forEachFeatureAtCoordinate
...
buffering by pointResolution times hitTolerance
2016-12-08 10:14:09 +01:00
simonseyock
5ce0d8aa2a
changed signature of internal methods
2016-12-08 10:13:47 +01:00
Andreas Hocevar
d854222c4b
Fix forEachLayerAtPixel and improve class hierarchy
2016-12-07 19:39:52 +01:00
Andreas Hocevar
93d86e63fc
Defer frame preparation when too much time was spent
2016-12-06 08:51:55 +01:00
Andreas Hocevar
ee7b894350
Refactor VectorTile renderer and add lower resolution clipping
2016-12-06 08:51:55 +01:00
Andreas Hocevar
2aa4f0c01c
Fix forEachLayerAtPixel for the canvas renderer
2016-12-06 08:47:41 +01:00
Andreas Hocevar
ccdb955cd9
Simplify canvas tile renderer with image composition
2016-12-06 08:47:40 +01:00
Tim Schaub
9272db1d25
Let the compiler know these are vector tiles
2016-11-11 05:48:06 -07:00
Andreas Hocevar
70338b928e
Revert "Merge pull request #5890 from ahocevar/no-white-lines"
...
This partially reverts commit 5f18246355 ,
reversing most of the changes made to
004afa6b9a .
2016-10-25 11:34:02 +02:00
Andreas Hocevar
76e0a37d69
Use tile pixel ratio for gutter calculation
2016-10-20 10:52:55 +02:00
Frederic Junod
ed677cec4e
Rename ol.render.EventType to ol.render.Event.Type
2016-10-13 12:02:51 +02:00
Andreas Hocevar
f23921367b
Use a common origin and resolution factors for tile alignment
2016-10-10 10:25:29 +02:00
Andreas Hocevar
04649a74cd
One provide per file for vector tiles
2016-10-06 22:52:02 +02:00
Andreas Hocevar
0ae73632cc
Merge pull request #5894 from ahocevar/reuse-arrays
...
Reuse arrays for rendered tiles and extent
2016-09-26 14:35:58 +02:00
Andreas Hocevar
9950e97c54
Always use the frameState's extent
...
Since the tile renderer aligns tiles to pixels anyway, we do not need to
modify the extent to make its center align with a pixel.
2016-09-16 15:02:21 +02:00
Andreas Hocevar
b0a654534c
Reuse arrays for rendered tiles and extent
2016-09-16 14:58:39 +02:00
Tim Schaub
f61a43b3c6
Keep ol.Color as Array<number>
2016-09-10 11:12:10 -06:00
Frederic Junod
db2b8666b6
Rename ol.RendererType to ol.renderer.Type
2016-09-07 08:57:23 +02:00
Thomas Moelhave
69fc9edb4d
Render older loaded tiles while waiting for new tiles
2016-09-02 15:28:28 +02:00
Frederic Junod
8b3536fc85
Rename ol.layer.VectorTileRenderType to ol.layer.VectorTile.RenderType
2016-09-01 06:58:11 -06:00
Andreas Hocevar
d1e4b33760
Rename goog.DEBUG to ol.DEBUG
2016-08-31 21:10:01 +02:00
Andreas Hocevar
cb7c15c767
Fix vector tile rotation on HiDPI devices
2016-08-27 23:03:07 +02:00
Andreas Hocevar
b7c84b269c
Merge pull request #5196 from ahocevar/batch-fill-stroke
...
Batch polygon and circle fills and strokes
2016-08-24 12:02:52 +02:00
Andreas Hocevar
8992ee8e73
Entertain the compiler
2016-08-23 15:33:52 +02:00
Andreas Hocevar
f490302959
Enable extent clipping for vector tile layers
2016-08-23 15:20:00 +02:00
Andreas Hocevar
1c73dc9088
Enable extent clipping for vector layers
2016-08-23 15:12:19 +02:00
Andreas Hocevar
7e940e618e
Introduce new overlaps option for Vector and VectorTile sources
...
Instead of deciding whether to batch fills and strokes by looking at the
opacity of the style, we now rely on user input.
2016-08-23 12:05:03 +02:00
Andreas Hocevar
bee94d0d4f
Fix drawScale calculation
...
The goal of using a drawScale was to use the smallest possible canvas (i.e.
one that fits the tile pixel ratio instead of the view pixel ratio) when
composing rotated views. Instead, the drawScale caused a ridiculously
large canvas.
2016-08-23 10:55:56 +02:00
Andreas Hocevar
92e2b72f55
Fix clip extent calculation for tile layers
2016-08-23 10:55:56 +02:00
Andreas Hocevar
f9a595ed5b
Merge pull request #5752 from ahocevar/fix-rotated-replaycontext
...
Set proper replay canvas size and offset for rotated view
2016-08-22 21:40:29 +02:00
Frédéric Junod
ef07dc6eff
Merge pull request #5727 from fredj/add_missing_goog_require
...
Add missing goog require
2016-08-22 08:35:06 +02:00