I have been trying to render map, where in I wish to use setbounds. The library that I am using is ng2-ui/map
I am unable to get any documentation on how to do the same.
I have written the following code, as of now:
<ngui-map [center]=mapCenter zoom=15>
<marker *ngFor="let pos of positions; let i= index;" [position]="pos"
[icon]= "{ url : mapMarkers[i]}"></marker>
</ngui-map>
where, center is average of all centers, and positions is an array of markers.