Commit Graph

2458 Commits

Author SHA1 Message Date
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
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 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
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
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 9abfa95735 Compare measured lengths with a tolerance 2017-09-12 09:34:53 +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 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 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
Andreas Hocevar 040e67d166 Only load source tiles that intersect the source tile grid's extent 2017-09-01 11:27:53 +02:00
bartvde 2d3fa05b91 Use geometry name in WFS updates 2017-09-01 09:00:34 +02:00
Andreas Hocevar 60dfc1f96a renderSync() to make sure overlay is initially visible 2017-08-31 22:16:41 +02:00
Andreas Hocevar 6469d3e864 Handle pixelRatio on replay creation instead of replay 2017-08-31 21:41:07 +02:00
Andreas Hocevar 35bd92b713 Prerender labels and cache them as images 2017-08-31 21:41:07 +02:00
Bart van den Eijnden 09e9759753 Merge pull request #7133 from Sol1du2/issue/6991/WFSWriteDimension
Issue/6991/WFS Write Dimension
2017-08-29 09:57:44 +02:00
Bart van den Eijnden 6726e0a98c Merge pull request #7141 from Sol1du2/issue/6990/WFSReadSrsDimension
Issue/6990/Wfs Read srsDimension
2017-08-29 09:38:12 +02:00
Andreas Hocevar 3cb5060497 Parse PBF directly in ol.format.MVT
This change also fixes a previous issue, where MultiPolygon geometries for
ol.Feature features were never created.
2017-08-29 08:51:06 +02:00
Andreas Hocevar 4b4f383043 Transform tile-pixels coordinates only once
This allows us to simplify the vector tile renderer significantly, because
there are no more coordinates that need special tile-pixel handling.
2017-08-28 19:32:16 +02:00
Tim Schaub da60dafd7f Valid and unique URI for images in the tile queue 2017-08-21 10:32:05 -04:00
Tim Schaub d23f000846 Correctly create image icons in the tests 2017-08-21 10:32:05 -04:00
Tim Schaub cab34cb220 Avoid assertion about hardcoded "latest" url 2017-08-21 10:32:05 -04:00
Andreas Hocevar 2421ae0254 Merge pull request #7142 from Sol1du2/issue/6992/UnitTest
Adds unit test to test the projection inside the geometry of esriJson
2017-08-21 12:00:53 +02:00
Tim Schaub 93cfc063c3 Correctly create an icon image 2017-08-18 17:35:59 -04:00
Tim Schaub b44db8eb26 Missing require in tileurlfunction.test.js 2017-08-18 16:53:46 -04:00
Tim Schaub 145505fa8a Missing require in epsg3857.test.js 2017-08-18 16:48:06 -04:00
Tim Schaub 521f06e91c Remove provide from tile.test.js 2017-08-18 15:56:20 -04:00