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 |
|
Andreas Hocevar
|
8581e17593
|
Use fixed pixel ratio for hit tolerance tests
|
2017-02-08 16:30:16 +01:00 |
|
Andreas Hocevar
|
76cae0e63f
|
Make sure moveTo is called after beginPath
|
2017-01-13 19:32:26 +01:00 |
|
Andreas Hocevar
|
2296ca3942
|
Do not skip moveTo calls after fill
|
2017-01-11 17:38:31 +01:00 |
|
Thomas Chandelle
|
7a4ae3a6ac
|
Line Dash offset
|
2017-01-04 11:19:47 +01:00 |
|
Andreas Hocevar
|
51a6405896
|
Add regression test
|
2016-12-21 16:47:27 +01:00 |
|
Andreas Hocevar
|
85f7a7c843
|
Re-render vector tiles when layer has changed
|
2016-12-14 14:45:02 +01:00 |
|
Frederic Junod
|
1478cadb18
|
Consistent spacing between keys and values in object literal
Related to https://github.com/openlayers/eslint-config-openlayers/pull/9
|
2016-12-14 12:10:47 +01:00 |
|
simonseyock
|
55ec0af072
|
Simplified api
|
2016-12-08 10:14:36 +01:00 |
|
simonseyock
|
80e392ea52
|
Satisfying linter, jsdoc & compiler
|
2016-12-08 10:14:09 +01:00 |
|
simonseyock
|
5ce0d8aa2a
|
changed signature of internal methods
|
2016-12-08 10:13:47 +01:00 |
|
simonseyock
|
80188b2044
|
Change signature of api methods
|
2016-12-08 10:12:42 +01:00 |
|
simonseyock
|
85893646c4
|
Added hitTolerance test
|
2016-12-08 10:12:42 +01:00 |
|
Andreas Hocevar
|
d854222c4b
|
Fix forEachLayerAtPixel and improve class hierarchy
|
2016-12-07 19:39:52 +01:00 |
|
Andreas Hocevar
|
132be598e7
|
Test array with to.eql(), not to.be.eql()
|
2016-12-06 16:03:35 +01:00 |
|
Andreas Hocevar
|
89ebf0a182
|
Merge pull request #6091 from tchandelle/linedash
Apply pixelRatio to line dash
|
2016-12-06 15:53:23 +01:00 |
|
Andreas Hocevar
|
ee7b894350
|
Refactor VectorTile renderer and add lower resolution clipping
|
2016-12-06 08:51:55 +01:00 |
|
Thomas Chandelle
|
3b64133f21
|
Add tests for linedash for HiDPI display
|
2016-12-05 09:26:06 +01:00 |
|
Andreas Hocevar
|
8fb6b6b6e6
|
Fix mockup of tile layer to keep drawImage arguments in range
|
2016-10-19 19:48:48 +02:00 |
|
Marc Jansen
|
2c200dcf5f
|
Setup a loaded image with src for TileLayer test
|
2016-10-19 09:56:16 +02:00 |
|
Andreas Hocevar
|
f23921367b
|
Use a common origin and resolution factors for tile alignment
|
2016-10-10 10:25:29 +02:00 |
|
Andreas Hocevar
|
e7bc7121d6
|
Add option to skip first coordinate for use with closePath()
|
2016-09-13 02:14:12 +02:00 |
|
Andreas Hocevar
|
129757578d
|
Do not repeat first vertex when closed is true
|
2016-09-13 02:13:30 +02:00 |
|
Andreas Hocevar
|
457de34485
|
Merge pull request #5708 from ahocevar/no-closepath
Remove unnecessary closePath() instructions
|
2016-08-25 17:05:52 +02:00 |
|
Andreas Hocevar
|
65d03bfbfb
|
Bail out when there is no fill and stroke
|
2016-08-25 16:40:31 +02:00 |
|
Andreas Hocevar
|
b7c84b269c
|
Merge pull request #5196 from ahocevar/batch-fill-stroke
Batch polygon and circle fills and strokes
|
2016-08-24 12:02:52 +02:00 |
|