removeStylePack method

Future<StylePack> removeStylePack(
  1. String styleURI
)

Removes a style package.

@param styleURI: The URI of the style package's associated style

Removes a style package from the existing packages list. The actual resources eviction might be deferred. All pending loading operations for the style package with the given id will fail with Canceled error.

Implementation

Future<StylePack> removeStylePack(String styleURI) async {
  return _api.removeStylePack(styleURI);
}