File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ class OrnamentsPageBodyState extends State<OrnamentsPageBody> {
3333 bool showScaleBar = true ;
3434 OrnamentPosition scaleBarPosition = OrnamentPosition .TOP_LEFT ;
3535 OrnamentPosition logoPosition = OrnamentPosition .BOTTOM_LEFT ;
36- OrnamentPosition attributionPosition = OrnamentPosition .BOTTOM_LEFT ;
36+ OrnamentPosition attributionPosition = OrnamentPosition .BOTTOM_RIGHT ;
3737
3838 _onMapCreated (MapboxMap mapboxMap) {
3939 this .mapboxMap = mapboxMap;
@@ -64,21 +64,26 @@ class OrnamentsPageBodyState extends State<OrnamentsPageBody> {
6464 position: scaleBarPosition,
6565 enabled: showScaleBar,
6666 marginBottom: 20 ,
67- marginLeft: 20 ,
68- marginTop: 20 ,
67+ marginLeft: 10 ,
68+ marginTop: 10 ,
6969 marginRight: 20 ,
7070 ));
7171
7272 mapboxMap.logo.updateSettings (LogoSettings (
7373 position: logoPosition,
74- marginBottom: 30 ,
75- marginLeft: 30 ,
74+ marginBottom: 10 ,
75+ marginLeft: 10 ,
7676 marginTop: 30 ,
7777 marginRight: 30 ,
7878 ));
7979
80- mapboxMap.attribution
81- .updateSettings (AttributionSettings (position: attributionPosition));
80+ mapboxMap.attribution.updateSettings (AttributionSettings (
81+ position: attributionPosition,
82+ marginBottom: 10 ,
83+ marginLeft: 40 ,
84+ marginTop: 40 ,
85+ marginRight: 0 ,
86+ ));
8287 }
8388
8489 @override
You can’t perform that action at this time.
0 commit comments