Commit Graph

17 Commits

Author SHA1 Message Date
Andreas Hocevar
b3f9e4e8ef Improve documentation 2017-10-31 11:33:48 +01:00
Andreas Hocevar
08af207724 Add decluttering for images and text 2017-10-31 11:33:48 +01: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
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
Frederic Junod
1cb2808f7f Remove abstract from ol.render.VectorContext functions 2017-01-30 17:16:01 +01:00
Frederic Junod
d59224f5eb Add missing override and inheritDoc jsdoc tags 2017-01-30 17:16:01 +01:00
Frederic Junod
546fc97cd4 Add abstract tag at class level 2017-01-30 17:16:01 +01:00
GaborFarkas
a6ddee0c5f Updating old code to current ol3 version 2016-11-23 09:49:46 +01:00
Peter Robins
0713e680e1 Replace goog.abstractMethod 2016-07-19 09:08:23 +00:00
Tim Schaub
0eb7e8220d Immediate rendering for all vector contexts 2016-03-18 17:31:14 -06:00
Tim Schaub
88f8515fb6 Shorter names for drawing methods 2016-03-18 17:04:44 -06:00
Tim Schaub
cf0c4dcf3f Add methods to base class 2016-03-18 17:03:17 -06:00
Tim Schaub
13a981c94b Fewer blank lines 2016-01-11 22:03:23 -08:00
Andreas Hocevar
6e2f82c397 Introduce ol.render.Feature 2015-10-28 10:29:02 +01:00
Tim Schaub
a09c07a427 Missing vector context description 2015-09-06 09:41:56 -06:00
Guillaume Beraudo
1553b88b9d Mark VectorContext @api
VectorContext type must be present in Ol3 externs to compile ol3-cesium.
Previously, the `IVectorContext` interface was exported to the externs.
2015-04-04 15:19:56 +02:00
Guillaume Beraudo
0e32456108 Use an abstract base class instead of IVectorContext
By having the abstract methods in the base class, subclasses can simply
override the methods they actually provide.
Additionally, this change fixes a regression in webgl canvas immediate.
2015-04-04 13:47:53 +02:00