Skip to content

Commit 2a3ce1d

Browse files
committed
fix: unpack of layers on Mapbox mode does not include the custom fields
1 parent ceec91b commit 2a3ce1d

4 files changed

Lines changed: 12 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 7.5.18
4+
5+
- Added `mapboxCustomStyleId` and `mapboxCustomUsername` to `ThemedTileLayer` to support custom Mapbox styles.
6+
37
## 7.5.17
48

59
- Updated attributions on `ThemedTileLayer` for OpenStreetMaps.

example/pubspec.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ packages:
390390
path: ".."
391391
relative: true
392392
source: path
393-
version: "7.5.17"
393+
version: "7.5.18"
394394
leak_tracker:
395395
dependency: transitive
396396
description:
@@ -459,10 +459,10 @@ packages:
459459
dependency: transitive
460460
description:
461461
name: matcher
462-
sha256: "12956d0ad8390bbcc63ca2e1469c0619946ccb52809807067a7020d57e647aa6"
462+
sha256: dc0b7dc7651697ea4ff3e69ef44b0407ea32c487a39fff6a4004fa585e901861
463463
url: "https://pub.dev"
464464
source: hosted
465-
version: "0.12.18"
465+
version: "0.12.19"
466466
material_color_utilities:
467467
dependency: transitive
468468
description:
@@ -816,10 +816,10 @@ packages:
816816
dependency: transitive
817817
description:
818818
name: test_api
819-
sha256: "93167629bfc610f71560ab9312acdda4959de4df6fac7492c89ff0d3886f6636"
819+
sha256: "8161c84903fd860b26bfdefb7963b3f0b68fee7adea0f59ef805ecca346f0c7a"
820820
url: "https://pub.dev"
821821
source: hosted
822-
version: "0.7.9"
822+
version: "0.7.10"
823823
timezone:
824824
dependency: "direct main"
825825
description:

lib/src/map/src/helpers.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ List<MapLayer> subdivideLayersPerSource({required List<MapLayer> rawLayers}) {
5050
source: layer.source,
5151
mapboxToken: layer.mapboxToken,
5252
mapboxLayers: [mapboxLayer],
53+
mapboxCustomStyleId: layer.mapboxCustomStyleId,
54+
mapboxCustomUsername: layer.mapboxCustomUsername,
5355
),
5456
);
5557
}

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: layrz_theme
22
description: Layrz standard styling library for Flutter. Widget library following the Material Design 3 guidelines, with a focus on reliavility and functionality.
3-
version: "7.5.17"
3+
version: "7.5.18"
44
homepage: https://theme.layrz.com
55
repository: https://github.com/goldenm-software/layrz_theme
66

0 commit comments

Comments
 (0)