Andreas Hocevar
1afc686af9
Add text background rendering and text padding
2017-11-12 22:49:32 +01:00
Andreas Hocevar
37dcd79a86
Add placement, maxAngle and exceedLength options to ol.style.Text
2017-09-11 15:51:06 +02:00
Marc Jansen
d0ef05977b
Autofix indentation issues (eslint --fix)
2017-06-19 11:58:00 +02:00
simonseyock
c561f1587b
Add clone methods to styles
2016-09-11 21:44:52 +02:00
Frederic Junod
8e95d94f3e
Add rotateWithView option to ol.style.Text
2016-08-23 13:26:02 +02:00
Tim Schaub
9da581cb8f
Move style files so they are named like their provide
2016-08-07 10:49:11 -06:00
Tim Schaub
36bcd26305
Separate literals from symbolizers
2013-08-15 10:37:18 -04:00
Tim Schaub
90fb37c220
Rename ol.style.SymbolizerLiteral to ol.style.Literal
2013-08-15 10:37:18 -04:00
Tim Schaub
8b93c5a0a0
Getters and setters for text symbolizer
2013-07-12 11:16:17 -06:00
Tim Schaub
2577d3f7d6
Rename ol.expression to ol.expr
2013-06-25 12:15:34 -06:00
Tim Schaub
8e8b26805f
Uniformly support evaluating symbolizers without features
...
In combination with a (not yet implemented) `Symbolizer#isLiteral` method, calling `Symbolizer#evaluate` without a feature is the fast track for rendering batches of like-styled features. This change also simplifies the handling of undefined symbolizer literal properties (where stroke or fill properties are optional).
2013-06-25 12:15:33 -06:00
Tim Schaub
cab983f826
We are guarnteed that all TextLiteral properties are defined (see #770 )
...
Instead of using the browser defaults, we use `ol.style.TextDefaults`.
2013-06-25 12:15:33 -06:00
Tim Schaub
c7da7e4c2e
Using new expressions in text symbolizer
2013-06-25 12:15:33 -06:00
ahocevar
f316b79bcd
Proper handling of defaults
2013-06-20 14:57:01 +02:00
ahocevar
cb9f4972df
Use 'text' instead of 'name' for the label text
2013-06-19 22:10:44 +02:00
ahocevar
c17424deec
Basic support for text symbolizers
...
This adds basic label rendering for points and polygons to the
canvas renderer, and a text symbolizer to the style package.
2013-06-19 22:01:51 +02:00