Page Summary
-
FeatureStyleallows modification of how aFeatureis displayed on a map, such as its fill color, point radius, stroke color, and stroke width. -
Data-driven styling features within
FeatureStyleare not supported in the Navigation SDK and are present solely for compatibility withplay-services-maps. -
A
FeatureStyle.Builderclass facilitates the configuration ofFeatureStyleinstances. -
Methods like
getFillColor,getPointRadius,getStrokeColor, andgetStrokeWidthallow retrieval of the style properties.
Data-driven styling features are not available to the Navigation SDK. They exists for compile time compatibility with com.google.android.gms:play-services-maps only.
The feature style to specify how the style of a Feature should be modified on a map.
Nested Class Summary
| class | FeatureStyle.Builder | A builder that helps configure an instance of FeatureStyle. |
|
Inherited Constant Summary
Public Method Summary
| static FeatureStyle.Builder |
builder()
|
| Integer |
getFillColor()
Returns the fillColor of this
FeatureStyle. |
| Float |
getPointRadius()
Returns the pointRadius of this
FeatureStyle. |
| Integer |
getStrokeColor()
Returns the strokeColor of this
FeatureStyle. |
| Float |
getStrokeWidth()
Returns the strokeWidth of this
FeatureStyle. |