Skip to content

Commit

Permalink
fix(journey-maps): hide geolocate button by default (#2019)
Browse files Browse the repository at this point in the history
Refs: ROKAS-100

Co-authored-by: Chris Dickinson <“christopher.dickinson@sbb.ch”>
  • Loading branch information
2 people authored and mhaertwig committed Oct 2, 2023
1 parent 4de39b5 commit 2b251c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
<sbb-checkbox formControlName="showSmallButtons">Small map controls</sbb-checkbox>
<sbb-checkbox formControlName="basemapSwitch">Basemap Switch</sbb-checkbox>
<sbb-checkbox formControlName="levelSwitch">Level Switcher</sbb-checkbox>
<sbb-checkbox formControlName="homeButton">Home Button</sbb-checkbox>
<sbb-checkbox formControlName="geoLocation">Show GeoLocation</sbb-checkbox>
</ng-container>
<sbb-checkbox formControlName="limitMaxBounds"> Limit max bounds to CH</sbb-checkbox>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export class JourneyMapsFullExample implements OnInit, OnDestroy {
zoomControls: [true],
basemapSwitch: [true],
homeButton: [true],
geoLocation: [true],
geoLocation: [false],
}),
styleOptions: _fb.group({
mode: ['bright', resetSelectedMarkerIdValidator],
Expand Down

0 comments on commit 2b251c1

Please sign in to comment.