Feature Styles Example

Shows how to create a feature styles.

Features in the northern hemisphere are styled according to their "type" attribute. This is accomplished with a simple template that is evaluated with the feature attributes as context.

Features in the sourthern hemisphere are styled according to a combination of their attributes and non-attribute properties. This is accomplished using an advanced template that calls functions on the context object passed to the Style constructor.