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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["`FeatureLayer.StyleFactory` is an interface used to style polygons in a feature layer on a map."],["It utilizes a `getStyle` method which takes a `Feature` as input and returns a `FeatureStyle` object defining the polygon's appearance."],["The `FeatureStyle` object returned by the `getStyle` method determines how the polygon will be visually represented on the map."]]],[]]