tiles property

Future<List<String?>?> get tiles

An array of one or more tile source URLs, as in the TileJSON spec. Required if url is not provided.

Implementation

Future<List<String?>?> get tiles async {
  return _style?.getStyleSourceProperty(id, "tiles").then((value) {
    if (value.value != null) {
      return (value.value as List<dynamic>).cast();
    } else {
      return null;
    }
  });
}