Commit Graph

2461 Commits

Author SHA1 Message Date
Andreas Hocevar dde9fb5bc4 Fix abort handling of tileload events 2017-09-08 06:50:55 +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
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
Tim Schaub 83f87a1f1e Merge pull request #7151 from tschaub/useless-exports
Get rid of useless test exports
2017-08-17 18:15:51 -04:00
Marc Jansen ab132d5b3e Merge pull request #7150 from marcjansen/less-spies
Remove problematic spies from scaleline tests
2017-08-17 15:18:32 -04:00
Tim Schaub a3e3e99baa Get rid of useless test exports 2017-08-17 15:16:58 -04:00
Marc Jansen d6200ff625 Remove problematic spies from scaleline tests 2017-08-17 20:57:42 +02:00
Tim Schaub f30f6da7bb Merge pull request #7147 from tschaub/extra-requires
Remove unnecessary import in events.test.js
2017-08-17 14:38:42 -04:00
Tim Schaub 967cffc398 Allow longer for first animation to finish 2017-08-17 13:20:49 -04:00
Tim Schaub d3527bf910 Avoid modifying imports 2017-08-17 13:20:39 -04:00
Tim Schaub 13550fbb4c Remove unnecessary import in events.test.js 2017-08-17 13:13:39 -04:00
Andreas Hocevar 2a117cce8f Use data URI instead of whole empty image 2017-08-17 10:43:29 -04:00
Joao Gouveia a0b76a5604 Adds unit test to test the projection inside the geometry of esriJson
This adds a unit test that tests weather the projection (spatial reference)
is being added inside the geometry object when writing features as
esriJson.
2017-08-17 11:21:33 +02:00
Joao Gouveia 5fce1b0351 Adds srsDimension to the pos and posList nodes when writing a WFS transaction
The WFS transaction failed if the srsDimension was not present on the
geometries.
Unit tests have been changed to accomodate the srsDimension attribute.
2017-08-17 10:04:16 +02:00
Tim Schaub 73afb656d7 Test fixes 2017-08-16 14:24:42 -04:00
Tim Schaub 3bdddeac1d More test cleanup 2017-08-16 13:45:13 -04:00
Tim Schaub 46bcce464f Add missing requires to tests 2017-08-16 13:43:28 -04:00
Tim Schaub 39cf0ee154 Avoid failure when other tests don't clean up 2017-08-16 13:43:28 -04:00
Tim Schaub 0dfd6da5a9 Run rendering tests with the rest of the tests 2017-08-16 13:35:32 -04:00
Tim Schaub 32c26c2524 More consistent clean up 2017-08-16 13:35:31 -04:00
Tim Schaub 44a976eb60 Run tests in real browsers with Karma 2017-08-16 13:35:31 -04:00
Joao Gouveia 163fc2e8e6 Adds Unit testing 2017-08-16 12:13:18 +02:00
Andreas Hocevar 44558b7c89 Merge pull request #7125 from ahocevar/remove-error-vector-tiles
Do not try to render error tiles from VectorTile source
2017-08-15 16:34:16 -04:00
Andreas Hocevar c69cf27218 Trigger change when source tile state changes
A VectorImageTile now gets changed() whenever one of its source tiles's state
changes, until all source tiles are LOADED.
2017-08-15 16:12:41 -04:00
Tim Schaub ae62f5a682 Test that an animation series works with an undefined view 2017-08-15 13:33:19 -04:00
Tim Schaub 940f97e2a7 Make view.animate() tolerate undefined views 2017-08-15 13:28:50 -04:00
Joao Gouveia f928209256 Fix srsDimension read on GML3 for Geoserver
Contrary to Mapserver, Geoserver sets the srsDimension attribute on
the child of the geometry node, not on the points list.
This fix searches that node as well.

A small unit test was also added.
2017-08-15 09:10:17 +02:00