Provide functions for handling styles.
Methods
handleRemoteStyle(styleUrl, styleSelector) → {Promise}
This function externalizes handling of the remote style based on the type of the style
Parameters:
Name | Type | Description |
---|---|---|
styleUrl |
String | Url of the style. Optional. |
styleSelector |
KmlStyleSelector | Style to be applied. Optional. |
Returns:
Promise of the style.
- Type
- Promise