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
Andreas Hocevar
02daf761f0
Set proper replay canvas size and offset for rotated view
2016-08-21 14:14:37 +02:00
Frederic Junod
2fb5e544c2
Take the pixelRatio into account when computing the gutter
2016-08-17 13:33:03 +02:00
Frederic Junod
d4ad9ad616
Add missing goog.require('ol')
2016-08-17 09:57:21 +02:00
Frederic Junod
793ec85b9d
Add missing goog.require('ol.render.canvas')
2016-08-17 09:57:21 +02:00
Benjamin
c3b66743fe
Added a pixelRatio adjust to the canvasTileLayer 'forEachLayerAtPixel' method
...
This method was composing a frame that was only accurate for devices
with a pixelRatio of 1. Now the canvas widths and heights are
multiplied beforehand by the pixelRatio. #5601
2016-08-15 10:28:29 -04:00
Tim Schaub
f25fd07a5e
Merge pull request #5702 from tschaub/no-missing-requires
...
Add rule to identify missing requires
2016-08-13 10:32:41 -06:00
Tim Schaub
9d276982b5
Assorted missing requires
2016-08-12 10:53:50 -06:00
Tim Schaub
3afb42828f
Add Hint and Property as ol.View properties
2016-08-12 10:53:50 -06:00
Tim Schaub
9e4d80b459
Move State to ol.Tile
2016-08-12 10:53:49 -06:00
Benjamin
f73ee14e3c
Added image data value to 'forEachLayerAtPixel' method callback
...
The update has been added to the docs for all 'forEachLayerAtPixel' definitions
and currently returns null for non-supporting definitions. ol.Color typeDef
was also updated to support Uint8Arrays & Uint8ClampedArrays as it is the
reference type for the addded argument #5586
2016-08-12 12:13:11 -04:00
Tim Schaub
3a1bbc4248
Get rid of ol.render.IReplayGroup interface
2016-08-08 09:58:12 -06:00
Tim Schaub
907a65ab83
Remove unused goog.require() calls in the source
2016-08-08 09:58:10 -06:00
Tim Schaub
424f3e5577
Move renderer files so they are named like their provides
2016-08-07 10:49:11 -06:00
Peter Robins
52afa50eec
Remove unneeded requires in renderers
2016-08-07 09:01:07 +00:00
Andreas Hocevar
e18d41b5e0
Remove gratuitous debug assertions
2016-08-04 11:29:54 +02:00
Andreas Hocevar
e0015b3d4e
Use goog.DEBUG instead of ol.DEBUG for now
2016-08-04 11:29:54 +02:00
Andreas Hocevar
6f5ed17fc5
Remove goog.asserts.*
...
This pull requests replaces type check hint assertions with type casts,
library sanity check assertions with conditional console.assert statements
in debug mode, and runtime sanity checks with assertions that throw an
ol.AssertionError with an error code for lookup outside the library.
2016-08-04 11:29:54 +02:00
Peter Robins
f8f2cd11d5
Replace goog.getUid with ol.getUid
2016-07-20 11:01:00 +00:00
Peter Robins
0713e680e1
Replace goog.abstractMethod
2016-07-19 09:08:23 +00:00
Andreas Hocevar
ccf15b8be3
Remove useless target argument from ol.Event and subclass constructors
2016-07-05 09:40:00 +02:00
Andreas Hocevar
2d4bccacb5
Remove use of ol.vec.Mat4 calls remaining after #5482
2016-07-01 23:00:29 +02:00
Andreas Hocevar
9624357bc3
Merge pull request #5507 from ahocevar/remove-goog-vec
...
Remove use of goog.vec.*
2016-07-01 22:46:42 +02:00
Tim Schaub
728e1dd1f2
Merge pull request #5482 from ischneider/layer-extent
...
Fix for regression in tile layer extent
2016-06-30 15:19:13 -06:00
Tim Schaub
618cb389e5
Use ol.transform.compose() for common transform compositions
2016-06-24 19:33:53 +02:00
Andreas Hocevar
6b4ee42c90
Refactor to a more convenient internal API
2016-06-23 13:10:41 +02:00
Andreas Hocevar
cf7ff841a7
Remove use of goog.vec.*
2016-06-23 13:10:41 +02:00
nicholas
6b465902cd
Remove goog.dom
2016-06-23 22:06:35 +12:00