Skip to content

Commit cf1f18d

Browse files
authored
Merge pull request #173 from goldenm-software/development
chore: release 3.7.4
2 parents d948385 + add43fb commit cf1f18d

6 files changed

Lines changed: 128 additions & 35 deletions

File tree

CHANGELOG.md

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

3+
## 3.7.4
4+
5+
- Added `showAssetsLabels`, `showGeofencesLabels`, `showPoisLabels`, and `showAssetsTrails` boolean fields to `Locator` and `LocatorInput`.
6+
- `enableSidebar` and `showAssetsTrails` default to `true` in `LocatorInput`.
7+
38
## 3.7.3
49
- Refactor `CaclInput`.
510

lib/src/locator/locator.freezed.dart

Lines changed: 76 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/locator/locator.g.dart

Lines changed: 17 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/locator/src/locator.dart

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,18 @@ abstract class Locator with _$Locator {
8383
/// [enableSidebar] indicates if the sidebar is enabled for this locator
8484
bool? enableSidebar,
8585

86+
/// [showAssetsLabels] indicates if the asset label overlays are visible for this locator
87+
bool? showAssetsLabels,
88+
89+
/// [showGeofencesLabels] indicates if the geofence label overlays are visible for this locator
90+
bool? showGeofencesLabels,
91+
92+
/// [showPoisLabels] indicates if the POI label overlays are visible for this locator
93+
bool? showPoisLabels,
94+
95+
/// [showAssetsTrails] indicates if the asset trail lines are visible for this locator
96+
bool? showAssetsTrails,
97+
8698
/// [boundary] is the geographic bounding box of the locator
8799
LocatorBoundary? boundary,
88100

@@ -461,6 +473,10 @@ abstract class Locator with _$Locator {
461473
}
462474
463475
enableSidebar
476+
showAssetsLabels
477+
showGeofencesLabels
478+
showPoisLabels
479+
showAssetsTrails
464480
boundary {
465481
topleft {
466482
latitude

lib/src/locator/src/locator_input.dart

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,19 @@ abstract class LocatorInput with _$LocatorInput {
3030
String? mapLayerId,
3131

3232
/// [enableSidebar] indicates if the sidebar is enabled for this locator
33-
@Default(false) bool enableSidebar,
33+
@Default(true) bool enableSidebar,
34+
35+
/// [showAssetsLabels] indicates if the asset label overlays are visible for this locator
36+
@Default(false) bool showAssetsLabels,
37+
38+
/// [showGeofencesLabels] indicates if the geofence label overlays are visible for this locator
39+
@Default(false) bool showGeofencesLabels,
40+
41+
/// [showPoisLabels] indicates if the POI label overlays are visible for this locator
42+
@Default(false) bool showPoisLabels,
43+
44+
/// [showAssetsTrails] indicates if the asset trail lines are visible for this locator
45+
@Default(true) bool showAssetsTrails,
3446

3547
/// [boundary] is the geographic bounding box of the locator
3648
LocatorBoundaryInput? boundary,

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
description: Layrz API models for Dart/Flutter. This package contains the models used by the Layrz API.
22
name: layrz_models
3-
version: "3.7.3"
3+
version: "3.7.4"
44
repository: https://github.com/goldenm-software/layrz_models
55

66
environment:

0 commit comments

Comments
 (0)