You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 23, 2025. It is now read-only.
When marker's position has been changed and it has [agmFitBounds]='true' directive, google.maps.LatLngBounds gets extended by new and old position. So agm-map is fitting both positions.
Steps to reproduce:
Create instance with [fitBounds]="true" flag
Insert inside agm-map with [agmFitBounds] directive
Change programmatically latitude and longitude of marker
When marker's position has been changed and it has [agmFitBounds]='true' directive, google.maps.LatLngBounds gets extended by new and old position. So agm-map is fitting both positions.
Steps to reproduce:
Current behavior:
Expected/desired behavior:
Versions:
Angular 6 & @agm/core: 1.0.0-beta.5