Commit Graph

306 Commits

Author SHA1 Message Date
Tim Schaub 75e536937a Rename _ol_renderer_canvas_Map_ to CanvasMapRenderer 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 1dfc37d6d2 Rename _ol_renderer_canvas_VectorLayer_ to CanvasVectorLayerRenderer 2018-01-10 09:35:42 -07:00
Tim Schaub 0cd932a7ac Rename _ol_renderer_canvas_TileLayer_ to CanvasTileLayerRenderer 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 085fddcb36 Rename _ol_Disposable_ to Disposable 2017-12-22 09:02:23 +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
Marc Jansen 25946b4541 Rename _ol_layer_Tile_ to TileLayer 2017-12-19 08:45:00 +01:00
Tim Schaub cdf7b3276b Rename _ol_format_MVT_ to MVT 2017-12-17 02:00:48 -07:00
Tim Schaub 4ea0af87df Rename _ol_geom_GeometryCollection_ to GeometryCollection 2017-12-14 08:59:35 -07:00
Tim Schaub 9d396280b0 Rename _ol_geom_MultiPolygon_ to MultiPolygon 2017-12-14 08:56:51 -07:00
Tim Schaub c502f016f7 Rename _ol_geom_Polygon_ to Polygon 2017-12-14 08:56:12 -07:00
Tim Schaub 3c78cb7872 Rename _ol_geom_MultiLineString_ to MultiLineString 2017-12-14 08:55:33 -07:00
Tim Schaub f7b3876c1b Rename _ol_geom_LineString_ to LineString 2017-12-14 08:54:53 -07:00
Tim Schaub ad5806c29d Rename _ol_geom_MultiPoint_ to MultiPoint 2017-12-14 08:51:53 -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
Andreas Hocevar 4d971029f9 Only compose image vector frame when the replay group has changed 2017-12-08 10:53:45 +01: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 55b5d0c719 Merge pull request #7327 from tschaub/tile-management
Prune the tile cache after updating a source's URL
2017-10-09 17:01:12 -06:00
Tim Schaub 2dd8fdb5b7 Reworked attribution handling 2017-10-08 20:29:02 -06:00
Tim Schaub c692b98fa9 Maintain rendering order in the LRU cache 2017-10-08 08:51:09 -06:00
Tim Schaub 16e6d13700 Make tile transitions configurable 2017-09-27 11:55:45 -06:00
Andreas Hocevar 531115b67b Add regression test 2017-09-06 19:03:36 +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
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 617151c8ff Simplify the renderer function API 2017-08-05 00:15:58 +02: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
Thomas Chandelle b301760976 Update composeFrame test with should/shouldn't clip cases 2017-04-10 15:11:11 +02:00
Tim Schaub 9415899a03 Add common transforms by default 2017-03-27 10:07:00 -06:00
Frederic Junod 3e95c424ab Don't use deprecated sinon.stub(obj, 'meth', fn)
Code updated using https://github.com/hurrymaplelad/sinon-codemod
2017-03-08 15:37:46 +01:00