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 |
|
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 |
|
Andreas Hocevar
|
395793b921
|
Additional tests and code comments
|
2016-08-24 11:44:15 +02:00 |
|
Andreas Hocevar
|
7e940e618e
|
Introduce new overlaps option for Vector and VectorTile sources
Instead of deciding whether to batch fills and strokes by looking at the
opacity of the style, we now rely on user input.
|
2016-08-23 12:05:03 +02:00 |
|
Andreas Hocevar
|
eed52552a9
|
Batch polygon and circle fills and strokes
|
2016-08-23 12:05:03 +02:00 |
|
Andreas Hocevar
|
208ea171c3
|
Add test to ensure the correct draw canvas size
|
2016-08-23 12:01:32 +02:00 |
|
Tim Schaub
|
004cf15222
|
Add some missing test requires
|
2016-08-12 10:53:48 -06:00 |
|
Tim Schaub
|
789aeb1c64
|
Toward a fix for ol.tilegrid
|
2016-08-08 10:22:28 -06:00 |
|
Tim Schaub
|
c203f6a841
|
Remove unused requires from tests
|
2016-08-08 09:58:11 -06:00 |
|
Tim Schaub
|
ed5dbd1293
|
Put test requires on top
|
2016-08-08 09:58:11 -06:00 |
|
Tim Schaub
|
424f3e5577
|
Move renderer files so they are named like their provides
|
2016-08-07 10:49:11 -06:00 |
|
Peter Robins
|
f8f2cd11d5
|
Replace goog.getUid with ol.getUid
|
2016-07-20 11:01:00 +00:00 |
|
Andreas Hocevar
|
6b4ee42c90
|
Refactor to a more convenient internal API
|
2016-06-23 13:10:41 +02:00 |
|
Andreas Hocevar
|
cf7ff841a7
|
Remove use of goog.vec.*
|
2016-06-23 13:10:41 +02:00 |
|
Frederic Junod
|
4bf1f56405
|
Add missing semicolon
|
2016-06-09 15:39:46 +02:00 |
|
Andreas Hocevar
|
ebc28aefd4
|
Add and fix vectortile tests
|
2016-04-28 12:57:27 +02:00 |
|
Andreas Hocevar
|
c17e23f2ae
|
Skip unnecessary render functions
|
2016-04-28 10:22:20 +02:00 |
|
Andreas Hocevar
|
f7147960a9
|
Add render options for vector tile layers
|
2016-04-19 13:04:38 +02:00 |
|
Andreas Hocevar
|
6c7d6817bd
|
Merge pull request #4854 from ahocevar/fix-select-and-everything-that-relies-on-unmanaged-layers-and-skipped-features-this-time-for-real---hopefully
Always report skipped feature hits for the original layer
|
2016-02-22 09:23:28 +01:00 |
|
Andreas Hocevar
|
5bc00d8535
|
Continue passing null instead of unmanaged layer to forEachFeatureAtCoordinate
|
2016-02-17 08:59:45 +01:00 |
|