Skip to content

Commit

Permalink
fix: liodali#525 markerOption missing in OSMOption ctor
Browse files Browse the repository at this point in the history
  • Loading branch information
oandeliz authored Aug 12, 2024
1 parent 5545570 commit 1f83291
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions lib/src/common/osm_option.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import 'package:flutter_osm_interface/flutter_osm_interface.dart';
///
/// [staticPoints] : (List<StaticPositionGeoPoint>) if you have static point that you want to show,like static of taxi or location of your stores
///
/// [markerOption] : contain marker of geoPoint and customisation of advanced picker marker
///
/// [userLocationMarker] : change user marker or direction marker icon in tracking location
///
/// [roadConfiguration] : (RoadConfiguration) set color and icons marker of road
Expand All @@ -32,6 +34,7 @@ class OSMOption {
this.isPicker = false,
this.showContributorBadgeForOSM = false,
this.userTrackingOption,
this.markerOption,
});
final bool showZoomController;
final List<StaticPositionGeoPoint> staticPoints;
Expand All @@ -43,6 +46,7 @@ class OSMOption {
final bool isPicker;
final bool showContributorBadgeForOSM;
final UserTrackingOption? userTrackingOption;
final MarkerOption? markerOption;
}

/// [ZoomOption]
Expand Down Expand Up @@ -79,9 +83,9 @@ class ZoomOption {
final double maxZoomLevel;

Map<String, int> get toMap => {
"stepZoom":stepZoom.toInt(),
"initZoom":initZoom.toInt(),
"minZoom":minZoomLevel.toInt(),
"maxZoom":maxZoomLevel.toInt(),
};
"stepZoom": stepZoom.toInt(),
"initZoom": initZoom.toInt(),
"minZoom": minZoomLevel.toInt(),
"maxZoom": maxZoomLevel.toInt(),
};
}

0 comments on commit 1f83291

Please sign in to comment.