withStyle abstract method
- Style style
Configures the builder to use a style.
Providing a style during layer creation is not mandatory. The style can also be set/updated after the layer creation. For more details see Custom Layer Style Reference in the documentation. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behavior. Related APIs may change for new releases without a deprecation process.
styleStyle for the layer.
Returns MapLayerBuilder. This class instance.
Implementation
MapLayerBuilder withStyle(Style style);