CyclOSMTileLayer static method

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

Used to load and display tile layers from CyclOSM servers.

Example:

U.CyclOSMTileLayer(
  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 CyclOSMTileLayer({
  L.TileLayerOptions? options,
}) {
  return L.TileLayer(
    options: cyclosm(options: options ?? L.TileLayerOptions()),
  );
}