Andreas Hocevar
5ebc969599
Support line and polygon label points for ol.render.Feature
2017-10-31 11:33:48 +01:00
Andreas Hocevar
325fac6886
Consider polygon labels only when they fit the intersection length
2017-09-27 18:06:30 +02:00
Andreas Hocevar
efc86d59b0
Implement text rendering along paths
...
This commit also changes the TextReplay.drawText() signature, and moves
geometry calculation into drawText(). This improves performance where no
text needs to be rendered (TextStyle.getText() == ''), which is used often
in applications.
2017-09-11 16:54:27 +02:00
Tim Schaub
a3e3e99baa
Get rid of useless test exports
2017-08-17 15:16:58 -04:00
Tim Schaub
46bcce464f
Add missing requires to tests
2017-08-16 13:43:28 -04:00
GaborFarkas
bb593eaac8
Fix WebGL text offset direction
2017-08-12 14:52:08 +02:00
GaborFarkas
619e85e737
Fix linting issues
2017-06-23 21:12:27 +02:00
GaborFarkas
a4c421e699
Use glyph atlases
2017-06-23 20:44:41 +02:00
GaborFarkas
a3a443324d
Add tests for WebGL TextReplay
2017-06-23 20:44:41 +02:00
GaborFarkas
bd87ec7c83
Conform ImageReplay to the new structure
2017-06-23 20:44:41 +02:00
GaborFarkas
26bfa7a172
Refactor WebGL ImageReplay
2017-06-23 20:37:37 +02:00
Marc Jansen
d0ef05977b
Autofix indentation issues (eslint --fix)
2017-06-19 11:58:00 +02:00
Andreas Hocevar
df72d7b20f
Add getId() method for ol.render.Feature
2017-05-11 15:54:20 +02:00
Frederic Junod
392cbcc138
Enforces spacing around commas
2016-12-14 13:42:47 +01:00
simonseyock
3a08cfd7c6
Added test for ol.render.canvas.ReplayGroup#getCircleArray_
2016-12-08 10:14:09 +01:00
GaborFarkas
d27591dea7
Adjust WebGL immediate test
2016-11-23 09:51:38 +01:00
GaborFarkas
3b2ff5a2ee
Revamp WebGL CircleReplay
2016-11-23 09:51:37 +01:00
GaborFarkas
a7ddda7d81
Force close polygon contours (WebGL)
2016-11-23 09:51:37 +01:00
GaborFarkas
ca1414b2d0
Add depth test to PolygonReplay
2016-11-23 09:51:37 +01:00
GaborFarkas
310fabe94a
Add tests for WebGL Immediate API
2016-11-23 09:51:37 +01:00
GaborFarkas
8a6b206220
Add more tests
2016-11-23 09:51:37 +01:00
GaborFarkas
0cb0ea2a8a
Add tests for ol.render.webgl.CircleReplay
2016-11-23 09:51:37 +01:00
GaborFarkas
c675a33235
Add tests for ol.render.webgl.Replay
2016-11-23 09:51:37 +01:00
GaborFarkas
62fb8d8fd8
Fix typos
2016-11-23 09:51:37 +01:00
GaborFarkas
dc360c2d7f
Refactor WebGL render tests
2016-11-23 09:51:37 +01:00
GaborFarkas
3af5c2805e
Add tests to WebGL triangulating functions
2016-11-23 09:51:36 +01:00
GaborFarkas
8e8098b362
Add some test to PolygonReplay
2016-11-23 09:51:36 +01:00
GaborFarkas
360e77481d
Restructure webgl replays
2016-11-23 09:51:36 +01:00
GaborFarkas
e893603966
Add tests to LineStringReplay
2016-11-23 09:49:47 +01:00
Guillaume Beraudo
e40b545e40
Add basic WEBGL LineString rendering
...
Use gl.LINES and hardcode a width.
Implement polygon stroking using the line string replay.
2016-11-23 09:49:46 +01:00
Guillaume Beraudo
8e9b589ca9
Add tests to PolygonReplay renderer
2016-11-23 09:49:46 +01: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
Tim Schaub
6b883afa35
Move render files so they are named like their provides
2016-08-07 10:49:11 -06:00
Andreas Hocevar
34d5cc228e
Merge pull request #5429 from probins/testenums
...
Remove enums from tests
2016-07-15 09:12:58 +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
Peter Robins
06fd92353b
Remove enums from tests
2016-06-03 11:10:46 +00:00
Tim Schaub
22d03cb2ee
Avoid duplicate lineTo and correctly close rings
2016-03-19 16:12:38 -06:00
Tim Schaub
f0814628b7
Synchronous rendering only
2016-03-18 17:26:10 -06:00
Tim Schaub
88f8515fb6
Shorter names for drawing methods
2016-03-18 17:04:44 -06:00
Tim Schaub
873e4176c6
Add vectorContext.drawGeometry() method
2016-03-18 17:03:17 -06:00
Tim Schaub
8f0f278832
Add vectorContext.setStyle() method
2016-03-18 17:03:17 -06:00
Tim Schaub
82020bcd1f
Merge pull request #4970 from tschaub/disposable-tests
...
Tests for ol.Disposable.
2016-03-03 09:35:29 -07:00
Frederic Junod
3793bb18ae
Add missing goog.inherits for ol.render.canvas.Immediate
2016-03-03 17:12:19 +01:00
Tim Schaub
167ee487d6
Assert that render box is a disposable
2016-03-03 09:05:08 -07:00
Tim Schaub
ae4d8195c0
Remove use of goog.dispose()
2016-03-02 15:44:06 -07:00
Andreas Hocevar
952b99742e
Add tests, remove unused code, encapsulate repeated code in functions
2016-02-15 17:00:06 +01:00
Andreas Hocevar
3f2d79b7fe
Replace goog.events.Event/EventTarget system with our own
...
This also removes goog.events.listen, goog.events.unlisten,
goog.events.unlistenByKey and goog.events.BrowserEvent.
2016-02-03 11:19:38 +01:00