Skip to content

Commit

Permalink
fix: resize canvas of map when map load (#449)
Browse files Browse the repository at this point in the history
* fix: resize canvas of map when map load

* fix: facto resize map
  • Loading branch information
abelkhay committed Feb 5, 2024
1 parent eb5fd35 commit e00222a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ <h3 class="card-title text-primary">
[center]="[localisation.longitude, localisation.latitude]"
(zoomEvt)="zooming($event)"
(zoomEnd)="onMapViewUpdated($event)"
(mapLoad)="$event.resize()"
(mapDragEnd)="onMapViewUpdatedDragging($event)">
<mgl-control mglNavigation [showZoom]="true" [showCompass]="false" position="top-left"></mgl-control>
<mgl-marker
Expand Down

0 comments on commit e00222a

Please sign in to comment.