Provide functions for handling styles.
- Source:
Methods
handleRemoteStyle(styleUrl, styleSelector, resolve, reject, filePromise)
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. |
resolve |
function | Function for resolving dependant promise |
reject |
function | Function for rejecting dependant promise |
filePromise |
Promise | Promise of the file. It is applied in the case of style url. |
- Source: