diff --git a/CHANGELOG.md b/CHANGELOG.md index b2a39bc0..819f1586 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ packages. * Renamed `Maplibre` to `MapLibre` to be in line with maplibre-native (affects for example the classes MaplibreMap and MaplibreMapController). +* Remove the parameter `hash` from `MapOptions` because it was not used. ### Changes diff --git a/analysis_options.yaml b/analysis_options.yaml index 4b1761bc..91ff63d6 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -16,7 +16,6 @@ linter: prefer_int_literals: false unnecessary_lambdas: false avoid_print: false - avoid_unused_constructor_parameters: false no_default_cases: false sort_pub_dependencies: false unnecessary_breaks: false diff --git a/maplibre_gl_web/lib/src/ui/map.dart b/maplibre_gl_web/lib/src/ui/map.dart index 4e462392..f8eba1ba 100644 --- a/maplibre_gl_web/lib/src/ui/map.dart +++ b/maplibre_gl_web/lib/src/ui/map.dart @@ -1207,7 +1207,6 @@ class MapOptions extends JsObjectWrapper { dynamic get locale => jsObject.locale; factory MapOptions({ - dynamic hash, bool? interactive, dynamic container, num? bearingSnap,