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
Nicholas L
0fef14137c
Remove unneeded comments and use ol.global
2016-06-20 21:41:20 +12:00
nicholas
04c4b4efc1
Remove goog.style.setElementShown
2016-06-19 19:22:11 +12:00
Ian Schneider
44a4fbdda2
respect layer.extent in canvas tilelayer renderer
2016-06-15 12:42:38 -06:00
Frederic Junod
4bf1f56405
Add missing semicolon
2016-06-09 15:39:46 +02:00
Frederic Junod
e289bfbb7d
Use ol.inherits instead of goog.inherits
2016-06-08 08:38:12 +02:00
Peter Robins
176ddd3403
Rename non-api sub-namespace typedefs
2016-05-13 10:24:57 +00:00
Peter Robins
535e8f5e35
Move top-level typedefs to typedefs.js
...
With one exception, those directly in the `ol` namespace can be moved without problem.
Some left-over goog.requires are also removed.
2016-05-11 17:18:05 +00:00
Peter Robins
2a44669e18
Add some goog.requires to keep compiler happy
2016-05-09 16:00:07 +00:00
Andreas Hocevar
c17e23f2ae
Skip unnecessary render functions
2016-04-28 10:22:20 +02:00
Andreas Hocevar
c72a39ff53
Coding style fixes
2016-04-27 17:33:55 +02:00
Andreas Hocevar
ec832243a2
Add comment making clear that 'vector' mode does not generate images
2016-04-27 17:31:20 +02:00
Andreas Hocevar
c5f81a5706
Unconditionally call drawImage - image is always available
2016-04-27 17:31:20 +02:00
Andreas Hocevar
f7147960a9
Add render options for vector tile layers
2016-04-19 13:04:38 +02:00
Frederic Junod
a2c3dfd5de
Add a temporary ol.TileCoord in ol.renderer.canvas.TileLayer
...
Avoid garbage creation
2016-04-13 17:21:10 +02:00
Frederic Junod
593132c902
Remove unused private variables in ol.renderer.canvas.Map
2016-04-13 10:54:11 +02:00
Frederic Junod
80e984a9c3
Use Array.isArray instead of goog.isArray
2016-04-04 09:06:29 +02:00
Björn Harrtell
44e04be67f
Get rid of goog.functions
2016-04-01 10:32:15 +02:00
Tim Schaub
f0814628b7
Synchronous rendering only
2016-03-18 17:26:10 -06:00
Andreas Hocevar
577e45cd97
Do not rotate map canvas after composition
...
This requires to draw tile layers to an intermediate canvas again, but
only when the view is rotated.
2016-03-18 21:53:19 +01:00
Andreas Hocevar
600c139a61
Resize the map canvas less aggressively
2016-03-12 14:13:28 +01:00
Andreas Hocevar
750a01aa80
Merge pull request #4960 from ahocevar/clip-rendered
...
Simplify clipping of lower resolution regions
2016-03-03 15:44:47 +01:00