Andreas Hocevar
4d4afa1790
Pre-render text images for configured scale
2017-10-13 14:28:52 -06:00
Andreas Hocevar
1141c82da1
Handle different lineWidth scaling in Safari
2017-10-13 14:28:43 -06:00
Andreas Hocevar
637cf7c65f
Allow reference image creation without existing reference image
2017-10-13 14:28:27 -06:00
Andreas Hocevar
84f083af86
Take pixel ratio into account for text stroke
2017-10-13 14:28:15 -06:00
Tim Schaub
90b08cdc1c
Set time and handle frame animation in raster source
2017-10-13 14:24:08 -06:00
Tim Schaub
177fcc7bcc
Consistent use of ol.tilecoord.getKeyZXY()
2017-10-13 14:23:25 -06:00
Tim Schaub
5a1effb483
Get rid of unnecessary coord key prefix
2017-10-13 14:23:25 -06:00
Tim Schaub
97745c50af
Prune all except for the most recent z on URL change
2017-10-13 14:23:25 -06:00
Tim Schaub
a4e0c54200
Maintain rendering order in the LRU cache
2017-10-13 14:23:24 -06:00
Tim Schaub
c679e3042e
Functions to get key from coord and coord from key
2017-10-13 14:23:24 -06:00
Tim Schaub
b0f291973b
Method for peeking at the newest cache entry key
2017-10-13 14:23:24 -06:00
Tim Schaub
168e6db951
Allow items to be removed from the cache
2017-10-13 14:23:24 -06:00
Andreas Hocevar
fdacd368f7
Fix multipoint instruction set
2017-09-29 13:17:07 +02:00
Tim Schaub
8354d5f0a6
Merge pull request #7267 from tschaub/fade
...
Render tiles with an opacity transition
2017-09-27 19:51:55 -07:00
Tim Schaub
68a1a497b0
Don't look for alt tiles if alpha is 1
2017-09-27 11:55:45 -06:00
Tim Schaub
3161e5bbaf
Back to 250 ms for the transition
2017-09-27 11:55:45 -06:00
Tim Schaub
0f53d04361
Only clear canvas when necessary, add tests
2017-09-27 11:55:45 -06:00
Tim Schaub
f7bfee8497
Ensure tile transitions complete
2017-09-27 11:55:45 -06:00
Tim Schaub
16e6d13700
Make tile transitions configurable
2017-09-27 11:55:45 -06:00
Andreas Hocevar
325fac6886
Consider polygon labels only when they fit the intersection length
2017-09-27 18:06:30 +02:00
Andreas Hocevar
7a3e11b9e4
Change getInteriorPoint type to XYM with intersection length as M
2017-09-27 18:06:05 +02:00
Andreas Hocevar
ca11fd00c1
Fix vertical stroke/fill alignment for text along lines
2017-09-24 22:54:45 +02:00
bartvde
bbde224f50
Add ability to change the loader of a vector source
2017-09-20 11:31:11 +02:00
Bin Wang
e32e72f1a0
fix osmxml to read ways before the definition of nodes
2017-09-13 11:27:51 +08:00
Andreas Hocevar
b920b78afe
Merge pull request #7236 from KlausBenndorf/cloneImage
...
reusing images in ol.style.Icon#clone
2017-09-12 13:15:04 +02:00
Marc Jansen
761f4318bc
Merge pull request #7246 from marcjansen/fix-7244
...
Compare measured lengths with a tolerance
2017-09-12 12:43:07 +02:00
Marc Jansen
2d0805ca54
Merge pull request #7247 from marcjansen/fix-7245
...
Raise tolerance of rendering tests to pass on Firefox 55 (GNU/Linux)
2017-09-12 12:41:52 +02:00
simonseyock
f73cda8ef5
reusing images in ol.style.Icon#clone
2017-09-12 11:58:38 +02:00
Andreas Hocevar
f5277c091b
Merge pull request #7239 from ahocevar/linestring-text
...
Render text along lines
2017-09-12 11:42:35 +02:00
Marc Jansen
20e8a26b89
Raise tolerance of rendering tests to pass on Firefox 55 (GNU/Linux)
2017-09-12 09:41:13 +02:00
Marc Jansen
9abfa95735
Compare measured lengths with a tolerance
2017-09-12 09:34:53 +02:00
Andreas Hocevar
8573a7ba64
Only set LOADED state when all source tiles loaded successfully
2017-09-11 23:23:54 +02:00
Andreas Hocevar
b65c6f7e8e
Use ERROR instead of EMPTY state when source tiles have ERROR state
2017-09-11 22:15:42 +02:00
Andreas Hocevar
2907fc3297
Remove duplicate test
2017-09-11 22:14:56 +02:00
Andreas Hocevar
85bfeda50e
Add rendering tests
2017-09-11 16:54:28 +02:00
Andreas Hocevar
abd50b8fcf
Utility to get the longest straight chunk of a linestring
2017-09-11 16:54:28 +02:00
Andreas Hocevar
efc86d59b0
Implement text rendering along paths
...
This commit also changes the TextReplay.drawText() signature, and moves
geometry calculation into drawText(). This improves performance where no
text needs to be rendered (TextStyle.getText() == ''), which is used often
in applications.
2017-09-11 16:54:27 +02:00
Andreas Hocevar
b03bb2c2ce
Merge pull request #7234 from ahocevar/tileload-events
...
Fix abort handling of tileload events
2017-09-08 07:13:28 +02:00
Andreas Hocevar
dde9fb5bc4
Fix abort handling of tileload events
2017-09-08 06:50:55 +02:00
Andreas Hocevar
416f7156e8
Merge pull request #7221 from thhomas/zoomify-update-iip
...
update zoomify source to accept tileIndex placeholders and handle iip…
2017-09-07 12:55:13 +02:00
Andreas Hocevar
531115b67b
Add regression test
2017-09-06 19:03:36 +02:00
Andreas Hocevar
e1783fc788
Fix travis build
2017-09-06 10:02:15 +02:00
Thomas Tilak
c43a46c5b7
update zoomify source to accept tileIndex placeholders and handle iipsource, update tests and examples
2017-09-05 18:27:35 +02:00
Tim Schaub
eb31b75caa
Fast path for child range when zoom factor is 2
2017-09-02 20:37:33 -06:00
Tim Schaub
f77c9180a0
Merge pull request #7209 from tschaub/work-with-z
...
Remove grid.getTileRangeForExtentAndResolution()
2017-09-02 15:14:17 -06:00
Andreas Hocevar
f99300a83d
Merge pull request #7201 from ahocevar/text-renderer
...
Prerender text to images
2017-09-02 22:57:48 +02:00
Tim Schaub
5e6a4e8cb7
Avoid unnecessary calls to tileGrid.getZForResolution()
2017-09-02 14:34:08 -06:00
Andreas Hocevar
ab16457d90
Do not calculate coverage when running tests locally
...
Having the coverage calculation code in the test files makes it hard to debug
tests, so it is better to only analyze coverage on Travis, and not locally.
2017-09-02 17:19:04 +02:00
Andreas Hocevar
8f28398684
Merge pull request #7206 from ahocevar/vectortile-load-extent
...
Only load source tiles that intersect the source tile grid's extent
2017-09-01 12:01:48 +02:00
Andreas Hocevar
b24e4c4f65
Fix existing tests to use valid urlTileCoords
2017-09-01 11:48:00 +02:00