Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-07 UTC."],[[["`FeatureLayer.StyleFactory` is a function that determines the style of each polygon within a feature layer."],["It operates by applying a function to each polygon, which in turn returns a `FeatureStyle` object dictating the polygon's appearance."],["The primary method, `getStyle`, takes a `Feature` as input and provides the corresponding `FeatureStyle` for that specific feature."]]],[]]