title: LatLng from Google Maps Polygon getPath()
body: <p>Based on the <a href="https://developers.google.com/maps/documentation/javascript/reference#Polygon" rel="noreferrer">Google Maps JavaScript API v3 documentation</a>, <code>google.maps.Polygon</code> class's <code>getPath()</code> function returns an <code>MVCArray</code>. In a straightforward case, a Polygon's path can be a single array of <code>LatLngs</code> that are converted to the <code>MVCArray</code> type upon being passed into the google.maps.Polygon class's <code>setPath()</code> function.</p>
  
  <p>The above case is what I'm dealing with currently. I pass in an array of <code>LatLngs</code>, and return (what I assume is) an <code>MVCObject</code> when I call <code>getPath()</code> on my Polygon object. My question is: How do I convert this <code>MVCObject</code> back into a single array of <code>LatLngs</code> that form the Polygon's shape? Is there some built in Google Maps API v3 way that I'm missing? I feel like there has to be some sort of obvious built in conversion function or something in the API that's eluding me.</p>
  
  <p>Any help would be appreciated.</p>