getStyleUrl method

Future<String> getStyleUrl()

Reads the URL of the map's style.

The URL is empty when the style came from MapHandle.setStyleJson().

See mln_map_get_style_url in the C API reference.

Implementation

Future<String> getStyleUrl() => _query(
  _resultString,
  (arena, completion) =>
      raw.mln_map_get_style_url(_handle.raw, completion, nativeDiagnostic),
);