I need assistance with adjusting the polylines on my map and dynamically setting the zoom level based on their size and position. Here is the code I am currently using:
<agm-map style="height: 500px" [latitude]='selectedLatitude' [longitude]='selectedLongitude'
*ngIf='xPolyline.length'>
<agm-polyline *ngFor='let polyline of xPolyline' [strokeColor]="'#0000ff'" [strokeOpacity]="0.9">
<agm-polyline-point *ngFor="let point of polyline;let i = index;" [latitude]="point.latitude"
[longitude]="point.longitude">
</agm-polyline-point>
</agm-polyline>
</agm-map>