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