NLMapsTileLayer static method
Used to load and display tile layers from NLMaps servers.
Example:
U.NLMapsTileLayer(
type: NLMapsType.Default,
options: TileLayerOptions(
opacity: 0.9,
),
)
@param: type
enum to define the type of NLMaps tiles to load.
Available values: NLMapsType.Default NLMapsType.Pastel NLMapsType.Grijs NLMapsType.Luchtfoto
@param: options
Parameter to override the default value of TileLayerOptions Default value: TileLayerOptions()
Implementation
// ignore: non_constant_identifier_names
static L.TileLayer NLMapsTileLayer({
NLMapsType type = NLMapsType.Default,
L.TileLayerOptions? options,
}) {
return L.TileLayer(
options: nlmaps(
type: type,
options: options ?? L.TileLayerOptions(),
),
);
}