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
Frédéric Junod
f16e40742c
Merge pull request #5801 from fredj/rm_ol.style.ImageState
...
Remove ol.style.ImageState and use ol.ImageState instead
2016-08-29 11:16:48 +02:00
Frederic Junod
bed95e3b5b
Change ol.ImageState to ol.Image.State
2016-08-29 10:53:09 +02:00
Frederic Junod
1fecb6fd16
Remove ol.style.ImageState and use ol.ImageState instead
2016-08-29 10:39:37 +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
0b3c320540
Rename ol.webgl.WebGLContextEventType to ol.webgl.ContextEventType
2016-08-12 10:53:50 -06:00
Tim Schaub
9e4d80b459
Move State to ol.Tile
2016-08-12 10:53:49 -06:00
Tim Schaub
a70c6f916b
Give ol.style.IconImageCache its own file
2016-08-12 10:53:48 -06:00
Tim Schaub
d02cf1e7a9
Shuffle assertions
2016-08-12 10:53:47 -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
Frederic Junod
fbb585c5d8
Remove goog.addSingletonGetter function
2016-08-09 11:28:02 +02: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
feb7713225
Remove lint
2016-08-07 13:28:19 -06:00
Tim Schaub
b1593124ba
Put the primary provide first
2016-08-07 10:49:13 -06:00
Tim Schaub
12e81e5487
Clean up WebGL provides
2016-08-07 10:49:12 -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
Peter Robins
53a7aad431
Remove goog.isObject not in assertions
2016-07-16 11:07:42 +00:00
Andreas Hocevar
d259ab893e
Use tile keys instead of coord keys
...
This change ensures that tiles with old params or dimensions are discarded
2016-07-14 01:03:30 +02:00
Andreas Hocevar
ccf15b8be3
Remove useless target argument from ol.Event and subclass constructors
2016-07-05 09:40:00 +02:00
Peter Robins
294a129083
Replace goog.webgl
2016-07-02 10:40:55 +00: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
3e928718f4
ol.vec.Mat4 improvements
...
* Rename ol.vec.Mat4.fromMatrix to ol.vec.Mat4.fromTransform
* Make result from ol.vec.Mat4.fromTransform immutable by adding result
matrix as argument.
2016-06-23 15:52:25 +02:00