FeatureLayer.StyleFactory

  • StyleFactory is a public static interface applied to every polygon in a feature layer to determine its style.

  • The getStyle method is a public abstract method within StyleFactory that returns the FeatureStyle of a given Feature.

public static interface FeatureLayer.StyleFactory

The style factory function applied to every polygon in the affected feature layer. This function must return a FeatureStyle object that specifies how to style the polygon.

Public Method Summary

abstract FeatureStyle
getStyle(Feature feature)
Returns the FeatureStyle of the Feature.

Public Methods

public abstract FeatureStyle getStyle (Feature feature)

Returns the FeatureStyle of the Feature.