This example shows how to use the GeoExt.component.FeatureRenderer class.

Have a look at renderer.js to see how this is done.

 pointlinepolygontext
default n/a
red n/a
custom
stacked

Text-graphic

Text and graphic combined
Text only
Graphic only

Custom Feature Rendering

You can render any ol.Feature object with a FeatureRenderer. Use the inputs below to modify the well-known text and symbolizer. These will be used to render a feature in a new window.