Skip to content

Commit

Permalink
fix: js interop attribution control set to false as default
Browse files Browse the repository at this point in the history
  • Loading branch information
gabbopalma committed Nov 13, 2024
1 parent d75afde commit 71cd9de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/platform/web/interop/map.dart
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ extension type MapOptions._(JSObject _) implements JSObject {
required LngLat? center,
required double bearing,
required double pitch,
required bool attributionControl,
});
}

Expand Down
1 change: 1 addition & 0 deletions lib/src/platform/web/widget_state.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ final class MapLibreMapStateWeb extends MapLibreMapState {
center: options.initCenter?.toLngLat(),
bearing: options.initBearing,
pitch: options.initPitch,
attributionControl: false,
),
);

Expand Down

0 comments on commit 71cd9de

Please sign in to comment.