Commit Graph

57 Commits

Author SHA1 Message Date
ahocevar
edbe2316ef Lazily create interim tiles (fixes most tests) 2018-11-16 15:03:28 +01:00
Tim Schaub
20e5841aed Remove vector mode for vector tile rendering 2018-11-16 14:56:48 +01:00
Guillaume Beraudo
89fed65f07 Fix incorrect Executor/Builder types 2018-11-15 23:27:43 +01:00
Tim Schaub
5dfa82c27e Create context in vector tile layer constructor 2018-11-04 17:43:04 -07:00
Tim Schaub
c860aed960 Import inherits, getUid, and VERSION from ol/util 2018-07-19 10:26:17 -06:00
ahocevar
aecb7e1789 Remove unused inherits 2018-07-18 16:33:35 +02:00
ahocevar
0a126b620c Use class keyword in tests 2018-07-18 16:30:09 +02:00
ahocevar
130c0eb436 Do not render vectors in image mode 2018-06-22 13:40:53 +02:00
ahocevar
da570c3a74 Update tests 2018-05-27 13:48:48 +02:00
ahocevar
dd6f4eef58 Only process loaded tiles 2018-03-29 11:44:32 +02:00
Nicholas L
7097b530f3 Rename extent 2018-02-19 20:33:03 +13:00
Tim Schaub
0948d4002f Named exports from ol/render/canvas 2018-02-14 09:43:20 -07:00
Tim Schaub
9ed3881f34 Named exports from ol/tilegrid 2018-02-09 09:30:16 -07:00
Frederic Junod
31e30d28b7 Named exports from ol/obj 2018-01-16 14:14:17 +01:00
Tim Schaub
ad62739a6e Use blocked scoped variables
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Tim Schaub
b7718fb0ed Rename _ol_render_Feature_ to RenderFeature 2018-01-11 13:45:50 -07:00
Tim Schaub
aa89746c47 Rename _ol_proj_Projection_ to Projection 2018-01-11 13:33:41 -07:00
Tim Schaub
c5a4be2edd Rename _ol_style_Text_ to Text 2018-01-11 13:25:48 -07:00
Tim Schaub
4f4c90fc20 Rename _ol_style_Style_ to Style 2018-01-11 13:22:43 -07:00
Tim Schaub
5337dc31d9 Rename _ol_layer_VectorTile_ to VectorTileLayer 2018-01-11 12:06:58 -07:00
Tim Schaub
ecd1343d75 Rename _ol_source_VectorTile_ to VectorTileSource 2018-01-10 09:36:29 -07:00
Tim Schaub
1c1f008238 Rename _ol_View_ to View 2018-01-10 09:35:42 -07:00
Tim Schaub
4d5dd1ea0d Rename _ol_renderer_canvas_VectorTileLayer_ to CanvasVectorTileLayerRenderer 2018-01-10 09:35:42 -07:00
Tim Schaub
22fce4f97b Rename _ol_Feature_ to Feature 2018-01-10 09:35:35 -07:00
Frederic Junod
b358a7daf5 Rename _ol_VectorTile_ to VectorTile 2017-12-22 09:06:58 +01:00
Frederic Junod
c46aec3196 Rename _ol_VectorImageTile_ to VectorImageTile 2017-12-22 09:03:41 +01:00
Frederic Junod
fc00aecd2e Rename _ol_TileState_ to TileState 2017-12-22 09:00:46 +01:00
Ron Young
9fa59d0735 rename map in tests 2017-12-21 23:11:42 -07:00
Tim Schaub
cdf7b3276b Rename _ol_format_MVT_ to MVT 2017-12-17 02:00:48 -07:00
Tim Schaub
eadec38ae2 Rename _ol_geom_Point_ to Point 2017-12-14 08:49:10 -07:00
Tim Schaub
6f72ffe498 Named exports from ol/proj 2017-12-14 13:08:40 +01:00
Andreas Hocevar
5a4887e300 Remove default export from ol/extent 2017-12-13 22:05:10 +01:00
Tim Schaub
87295a74dd Use named exports from ol/index.js 2017-12-12 12:34:23 -07:00
Tim Schaub
8a9bbd6264 Separate example scripts for dev and prod 2017-12-12 06:56:19 -07:00
Tim Schaub
7f47883c48 Transformed 2017-12-12 06:53:18 -07:00
Tim Schaub
dbeef9f73e Use wrapped tile coord for getting feature at coordinate 2017-11-06 10:53:44 -07:00
Andreas Hocevar
7f865b8520 Check if fonts are available and redraw when label cache was cleared 2017-11-03 13:04:06 +01:00
Tim Schaub
16e6d13700 Make tile transitions configurable 2017-09-27 11:55:45 -06: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
a3e3e99baa Get rid of useless test exports 2017-08-17 15:16:58 -04:00
Tim Schaub
73afb656d7 Test fixes 2017-08-16 14:24:42 -04:00
Tim Schaub
46bcce464f Add missing requires to tests 2017-08-16 13:43:28 -04:00
Andreas Hocevar
992cf2b2d6 Fix hit detection for overzoomed vector tiles 2017-08-13 22:53:58 -04:00
Andreas Hocevar
b3be7e7ba9 Get tilePixelRatio from MVT tiles 2017-08-02 20:11:14 +02:00
Andreas Hocevar
c6b942f185 Allow styles to configure a custom renderer
Two new examples show how custom renderers can be used to render text along
paths, and to declutter labels using 3rd party libraries.
2017-07-29 17:57:38 +02:00
Andreas Hocevar
7739239e89 Make VectorTile source work with multiple layers 2017-07-09 14:08:08 +02:00
Andreas Hocevar
4a6945ac17 Merge pull request #6779 from ahocevar/vector-tile-grid
Decouple source and rendered tile grid of vector tile sources
2017-05-10 19:07:21 +02:00
Andreas Hocevar
50615557d9 Create intermediate canvas when resolutions have changed 2017-05-10 11:58:38 +02:00
Andreas Hocevar
55e3746554 Avoid garbage creation on frame preparation/composition 2017-05-09 14:04:05 +02:00
Andreas Hocevar
785e7135a7 Decouple source and rendered tile grid of vector tile sources 2017-05-09 14:04:04 +02:00