url property
A URL to a TileJSON resource. Supported protocols are http:
, https:
, and mapbox://<Tileset ID>
. Required if tiles
is not provided.
Implementation
Future<String?> get url async {
return _style?.getStyleSourceProperty(id, "url").then((value) {
if (value.value != null) {
return value.value as String;
} else {
return null;
}
});
}