title: Bing Maps - Zoom in on Array of lats and longs
body: <p>I have two arrays of gps locations: lats[] and longs[] 
  I use these arrays to place pushpins to a map. I would like to Zoom onto the area of the pushpins after they were placed. Please help me with the code to do that. Thank You. </p>
  
  <pre><code>function LoadPushPins() 
   {
  
     var icon = new VECustomIconSpecification();
  
     for (var i = 0; i &lt; lats.length; i++) 
      {
       var pp = new VEShape(VEShapeType.Pushpin, new VELatLong(lats[i],longs[i]));
  
       pp.SetDescription(theaddress[i]);
       pp.SetTitle(descs[i]);
       icon.Image = theicon[i];
       pp.SetCustomIcon(icon);
       map.AddShape(pp);
       }
  
     }
  </code></pre>