SafeCastTileLayer static method
Used to load and display tile layers from SafeCast servers.
Example:
U.SafeCastTileLayer(
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 SafeCastTileLayer({
L.TileLayerOptions? options,
}) {
return L.TileLayer(
options: safecast(options: options ?? L.TileLayerOptions()),
);
}