@@ -378,6 +378,7 @@ class _MapLibreMapOptions {
378378 _MapLibreMapOptions (
379379 {this .compassEnabled,
380380 this .cameraTargetBounds,
381+ this .styleString,
381382 this .minMaxZoomPreference,
382383 required this .rotateGesturesEnabled,
383384 required this .scrollGesturesEnabled,
@@ -402,6 +403,7 @@ class _MapLibreMapOptions {
402403 locationEnginePlatforms: map.locationEnginePlatforms,
403404 compassEnabled: map.compassEnabled,
404405 cameraTargetBounds: map.cameraTargetBounds,
406+ styleString: map.styleString,
405407 minMaxZoomPreference: map.minMaxZoomPreference,
406408 rotateGesturesEnabled: map.rotateGesturesEnabled,
407409 scrollGesturesEnabled: map.scrollGesturesEnabled,
@@ -426,6 +428,8 @@ class _MapLibreMapOptions {
426428
427429 final CameraTargetBounds ? cameraTargetBounds;
428430
431+ final String ? styleString;
432+
429433 final MinMaxZoomPreference ? minMaxZoomPreference;
430434
431435 final bool rotateGesturesEnabled;
@@ -489,6 +493,7 @@ class _MapLibreMapOptions {
489493
490494 addIfNonNull ('compassEnabled' , compassEnabled);
491495 addIfNonNull ('cameraTargetBounds' , cameraTargetBounds? .toJson ());
496+ addIfNonNull ('styleString' , styleString);
492497 addIfNonNull ('minMaxZoomPreference' , minMaxZoomPreference? .toJson ());
493498
494499 addIfNonNull ('rotateGesturesEnabled' , rotateGesturesEnabled);
0 commit comments