Skip to content

Commit

Permalink
feat: add zoom button on map libre (#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
abelkhay committed Oct 2, 2023
1 parent 14424b3 commit b416bc0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ <h3 class="card-title text-primary">
(zoomEvt)="zooming($event)"
(zoomEnd)="onMapViewUpdated($event)"
(mapDragEnd)="onMapViewUpdated($event)">
<mgl-control mglNavigation [showZoom]="true" [showCompass]="false" position="top-left"></mgl-control>
<mgl-marker
*ngIf="userLocalisation$ | async as userLocalisation"
[lngLat]="[userLocalisation.longitude, userLocalisation.latitude]">
Expand Down

0 comments on commit b416bc0

Please sign in to comment.