MapController.cyclOSMLayer constructor
MapController.cyclOSMLayer({
- UserTrackingOption? initMapWithUserPosition,
- GeoPoint? initPosition,
- BoundingBox? areaLimit = const BoundingBox.world(),
Implementation
MapController.cyclOSMLayer({
super.initMapWithUserPosition,
super.initPosition,
super.areaLimit = const BoundingBox.world(),
}) : assert(
(initMapWithUserPosition != null) || initPosition != null,
),
super(
customTile: CustomTile(
urlsServers: [
TileURLs(
url: "https://{s}.tile-cyclosm.openstreetmap.fr/cyclosm/",
subdomains: [
"a",
"b",
"c",
],
),
],
tileExtension: ".png",
sourceName: "cycleMapnik",
tileSize: 256,
),
);