NLSTileLayer static method

TileLayer NLSTileLayer({
  1. TileLayerOptions? options,
})

Used to load and display tile layers from NLS servers.

Example:

U.NLSTileLayer(
  options: TileLayerOptions(
    opacity: 0.9,
  ),
)

@param: options

Parameter to override the default value of TileLayerOptions Default value: TileLayerOptions()

Implementation

// ignore: non_constant_identifier_names
static L.TileLayer NLSTileLayer({
  L.TileLayerOptions? options,
}) {
  return L.TileLayer(
    options: nls(options: options ?? L.TileLayerOptions()),
  );
}