BasemapATTileLayer static method
TileLayer
BasemapATTileLayer({
- BasemapATType type = BasemapATType.Default,
- TileLayerOptions? options,
Used to load and display tile layers from BasemapAT servers.
Example:
U.BasemapATTileLayer(
type: BasemapATType.Default,
options: TileLayerOptions(
opacity: 0.9,
),
)
@param: type
enum to define the type of BasemapAT Map tiles to load.
Available values: BasemapATType.Default BasemapATType.Grau BasemapATType.Overlay BasemapATType.Terrain BasemapATType.Surface BasemapATType.Hdpi BasemapATType.Orthofoto
@param: options
Parameter to override the default value of TileLayerOptions Default value: TileLayerOptions()
Implementation
// ignore: non_constant_identifier_names
static L.TileLayer BasemapATTileLayer({
BasemapATType type = BasemapATType.Default,
L.TileLayerOptions? options,
}) {
return L.TileLayer(
options: basemapat(
type: type,
options: options ?? L.TileLayerOptions(),
),
);
}