styleGlyphURL method

  1. @experimental
Future<String> styleGlyphURL()

Returns the glyph URL template that text labels use.

If the root style does not set a glyph URL, or the URL is an empty string, the map uses the URL that the first style import resolves to. If no style sets a URL, the map uses the default Mapbox glyph URL mapbox://fonts/mapbox/{fontstack}/{range}.pbf. The returned URL is never empty.

Implementation

@experimental
Future<String> styleGlyphURL() => _impl.styleGlyphURL();