TemplateFunction typedef

  1. @Deprecated('Prefer creating a custom `TileProvider` instead. ' 'This option has been deprecated as it is out of scope for the `TileLayer`. ' 'This option is deprecated since v6.')
TemplateFunction = String Function(String str, Map<String, String> data)

Implementation

@Deprecated(
  'Prefer creating a custom `TileProvider` instead. '
  'This option has been deprecated as it is out of scope for the `TileLayer`. '
  'This option is deprecated since v6.',
)
typedef TemplateFunction = String Function(
  String str,
  Map<String, String> data,
);