ahocevar
2147674e2f
Adding exports for icon and feature
2013-03-06 12:49:06 +01:00
Tim Schaub
060edb2070
Merge branch 'vector' of github.com:openlayers/ol3 into vector
...
Conflicts:
src/ol/style/shape.js
2013-03-06 02:28:33 +01:00
Tim Schaub
ac10bb6ca5
Enforce that either stroke or fill is provided
2013-03-06 02:20:11 +01:00
Tim Schaub
c0c8faaf9f
Allow literal from symbolizer without feature
2013-03-06 02:20:11 +01:00
ahocevar
ab19d255c7
Rendering icons from external graphic urls
2013-03-06 01:57:08 +01:00
Tim Schaub
4f2523fcf2
Vector related exports
2013-03-05 18:25:07 +01:00
Tim Schaub
e1c3faa53e
Vector related exports
2013-03-05 18:13:10 +01:00
Tim Schaub
978527f880
Accept missing properties in symbolizer constructors
...
Still need to have some discussion about when to apply defaults.
2013-03-04 19:31:11 +01:00
ahocevar
db52ff926e
Return an empty array for features without geometry
...
This ensures that the static applyDefaultStyle() method works
exactly the same way as the instance's apply() method.
2013-03-03 15:22:33 +01:00
ahocevar
bdfa2cc88c
Fixing return type to make Closure compiler happy
2013-03-02 17:44:15 +01:00
ahocevar
f4a4522eb4
Giving vector layers the style they deserve
...
Now vector layers can have a style. ol.Style instances have an
apply method to get the symbolizer literals for a feature. If the
layer does not have a style defined, there is also a static
applyDefaultStyle function on ol.Style to get the default
symbolizer literals for a feature. The vector layer also got a
groupFeaturesBySymbolizerLiteral method, which returns an array
with features grouped by symbolizer, as needed by the canvas
renderer.
2013-03-02 17:38:01 +01:00
ahocevar
fcd5804d2d
Symbolizer and SymbolizerLiteral as base class, not interface
2013-03-02 14:08:52 +01:00
Tim Schaub
438664a190
Renaming literals
2013-02-19 22:35:29 -07:00
Tim Schaub
7141721bb1
Symbolizers with method for creating literals
2013-02-19 22:24:21 -07:00
Tim Schaub
360e37146c
Rule is filter and symbolizer, style is collection of rules
2013-02-19 21:37:40 -07:00
Tim Schaub
92c8c9c5df
Shape extends point
2013-01-21 23:20:52 -07:00
Tim Schaub
140e9ba355
General purpose canvas renderer
...
Currently only renders points as circles. Eventually will have methods for other geometry types and other symbolizer types. Also provides static methods to render point symbolizers (returning a canvas that can be drawn on another).
2013-01-18 17:42:12 -07:00
Tim Schaub
b92fdaf911
Going with point, line, and polygon symbolizers
...
Separate fill and stroke symbolizers make a nicer API, but less efficient rendering
2013-01-18 17:20:10 -07:00
Tim Schaub
7cca691b9f
Start of style package
...
These literals will be used internally only - created when evaluating
non-literal symbolizers (with properties that are expressions).
2013-01-07 01:41:02 -05:00