HikeBikeTileLayer static method
Used to load and display tile layers from HikeBike servers.
Example:
U.HikeBikeTileLayer(
type: HikeBikeType.Default,
options: TileLayerOptions(
opacity: 0.9,
),
)
@param: type
enum to define the type of HikeBike Map tiles to load.
Available values:
HikeBikeType.Default
HikeBikeType.Hill
@param: options
Parameter to override the default value of TileLayerOptions Default value: TileLayerOptions()
Implementation
// ignore: non_constant_identifier_names
static L.TileLayer HikeBikeTileLayer({
L.TileLayerOptions? options,
}) {
return L.TileLayer(
options: hikebike(options: options ?? L.TileLayerOptions()),
);
}