tiles property

Future<List<String?>?> get tiles

An array of one or more tile source URLs, as in the TileJSON spec.

Implementation

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