Tim Schaub
7cf1e74ae3
Integration test for rendering a world spanning polygon
2016-10-06 20:48:58 -06:00
Tim Schaub
f444800fc6
Only call beginPath once per MultiPolygon
2016-09-26 06:13:01 -06:00
Frédéric Junod
7ec100f3f8
Merge pull request #5863 from fredj/stroke_pattern
...
Allow CanvasPattern or CanvasGradient as stroke style
2016-09-14 08:38:41 +02:00
Frederic Junod
e48fda6bef
Allow CanvasPattern or CanvasGradient as stroke style
2016-09-13 17:16:29 +02:00
Andreas Hocevar
c8c1578928
Add rendering tests for simplified polygons
2016-09-13 16:32:55 +02:00
Andreas Hocevar
710c95c5cd
Merge pull request #5790 from ahocevar/fix-pixelratio
...
Fix vector tile rotation on HiDPI devices
2016-08-29 11:04:55 +02:00
Andreas Hocevar
2037e725b3
Move to 90° along the circle, not 0°
2016-08-29 09:30:23 +02:00
Andreas Hocevar
cb7c15c767
Fix vector tile rotation on HiDPI devices
2016-08-27 23:03:07 +02:00
Andreas Hocevar
457de34485
Merge pull request #5708 from ahocevar/no-closepath
...
Remove unnecessary closePath() instructions
2016-08-25 17:05:52 +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
395793b921
Additional tests and code comments
2016-08-24 11:44:15 +02:00
Frederic Junod
8e95d94f3e
Add rotateWithView option to ol.style.Text
2016-08-23 13:26:02 +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
eed52552a9
Batch polygon and circle fills and strokes
2016-08-23 12:05:03 +02:00
Andreas Hocevar
c1daf6f49f
Add rendering tests for hidpi layer clipping
2016-08-23 10:55:56 +02:00
Frederic Junod
e6ba9973f9
Increase the size of the map in ol.layer.Tile rendering tests
2016-08-22 09:03:27 +02:00
Frederic Junod
2fb5e544c2
Take the pixelRatio into account when computing the gutter
2016-08-17 13:33:03 +02:00
Tim Schaub
9e4d80b459
Move State to ol.Tile
2016-08-12 10:53:49 -06:00
Tim Schaub
85d4fb6ac4
Add missing requires to rendering tests
2016-08-12 10:53:49 -06:00
Andreas Hocevar
274593feef
Add rendering test for closed paths
2016-08-11 15:56:52 +02:00
Tim Schaub
789aeb1c64
Toward a fix for ol.tilegrid
2016-08-08 10:22:28 -06:00
Tim Schaub
7d29b35e75
Put rendering test requires on top
2016-08-08 09:58:11 -06:00
Tim Schaub
1b8310a6fe
Rename ol/objectutil.js to ol/obj.js
2016-08-07 10:49:12 -06:00
Andreas Hocevar
8719b79b5e
Merge pull request #5599 from ahocevar/subpixel-center
...
Allow subpixel center on view
2016-08-03 09:19:09 +02:00
Andreas Hocevar
34d5cc228e
Merge pull request #5429 from probins/testenums
...
Remove enums from tests
2016-07-15 09:12:58 +02:00
Andreas Hocevar
51e84e10f2
Allow subpixel center on view
2016-07-14 23:51:00 +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
Andreas Hocevar
35129af7f0
Do not optimize lines away entirely
2016-06-23 10:38:10 +02:00
Ian Schneider
9d5232d9af
canvas tests for tile rendering with layer.extent
2016-06-15 21:14:37 -06:00
Frederic Junod
4bf1f56405
Add missing semicolon
2016-06-09 15:39:46 +02:00
Peter Robins
06fd92353b
Remove enums from tests
2016-06-03 11:10:46 +00:00
Andreas Hocevar
6efd3dab0b
Add rendering tests to ensure correct circle and polygon rendering ( #5189 )
2016-04-07 18:03:57 +02:00
Tim Schaub
cd70f58e34
Rendering tests for vector context
2016-03-19 16:45:26 -06:00
Tim Schaub
88f8515fb6
Shorter names for drawing methods
2016-03-18 17:04:44 -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
Tim Schaub
df4f154a93
Unused goog.dispose requires
2016-03-02 15:44:06 -07:00
Petr Sloup
59574da74c
Fix reprojection of raster sources with gutter
2016-02-19 12:17:03 +01:00
Andreas Hocevar
a109062b1f
Rotate map canvas after composition
2016-02-15 17:00:06 +01:00
Tim Schaub
3c0ef430db
Use ol.object.assign() instead of goog.object.extend()
2016-02-04 06:54:43 -07:00
Andreas Hocevar
3f2d79b7fe
Replace goog.events.Event/EventTarget system with our own
...
This also removes goog.events.listen, goog.events.unlisten,
goog.events.unlistenByKey and goog.events.BrowserEvent.
2016-02-03 11:19:38 +01:00
Bart van den Eijnden
4ef1f5e63f
Make sure icons show up in Safari
...
Make sure that drawImage calls don't exceed source image dimensions.
2016-01-12 15:57:11 +01:00
Tim Schaub
534124ec2f
Lint free rendering tests
2016-01-11 18:56:09 -08:00
Andreas Hocevar
a3147c5d08
Proper rounding for possibly negative numbers
2016-01-11 16:25:09 +01:00
Petr Sloup
9f5d85f2c6
Handle tile coordinate wrapping when reprojecting raster tiles
2015-12-11 16:35:23 +01:00
Andreas Hocevar
e978133b85
Make render tests work on more devices
...
By setting a device pixel ratio of 1.0 and increasing the tolerance for raster
reprojection tests, the render tests now also run from the console on OSX
devices with retina display.
2015-12-06 17:59:49 +01:00
Bart van den Eijnden
7174f65da3
Make test pass on Firefox on OSX as well
2015-11-24 14:43:40 +01:00
Bart van den Eijnden
fb52d472d2
Make regularshape tests pass on Safari on OSX
...
The threshold needed to be even higher for Safari on OSX.
2015-11-24 14:42:50 +01:00
Bart van den Eijnden
5f0ea2c2c7
Make the rendering tests pass in IE11
...
For 2 test cases, the thresholds were also too low for Chrome on OSX.
2015-11-24 14:35:18 +01:00
Andreas Hocevar
6280b35035
Scale StaticImage image to imageExtent
...
The imageSize property was only used to determine the scale. It's usage was
never documented nor tested nor shown in an example, so I removed it because I
considered its presence a bug.
2015-11-13 12:23:31 +01:00
Bart van den Eijnden
b426fa5509
Revert "Merge pull request #4339 from bartvde/issue-4337"
...
This reverts commit 7f4c6e3634 , reversing
changes made to c5dac0aa70 .
2015-11-12 20:29:54 +01:00