title: Google maps expand limitation of rectangle boundary
body: <p>Please find the google mapsApi documentation <a href="https://developers.google.com/maps/documentation/javascript/shapes#editable" rel="nofollow noreferrer">https://developers.google.com/maps/documentation/javascript/shapes#editable</a> 
  Please zoomout to world view and then expand the region selection towards right in single attempt. At some point you could observe that the selection became unstable and it selects entirely different section of the world. </p>
  
  <p>By default the rectangle selection tool seems to look for shortest possible path to complete the shape.  This creates a strange behavior when attempting to draw a very very large region.</p>
  
  <ol>
  <li><p>I wanted to click and drag a very large region that covered a large geography.  I was dragging West to East.  Once the size of the object was very large, the selection reserved and was covering a completely different section of the world.</p></li>
  <li><p>I attempt to expand a boundary to include the entire world.  When the boundary goes far enough, again the region appears to be the minimal/smaller area.  </p></li>
  </ol>
  
  <p>Expected behavior was the selector to continue expanding in the direction the user intends.  In this case I would expect the selector to continue its west to east expansion.</p>
  
  <p><a href="https://developers.google.com/maps/documentation/javascript/shapes#editable" rel="nofollow noreferrer">https://developers.google.com/maps/documentation/javascript/shapes#editable</a></p>
  
  <pre><code>var bounds = {north: 44.599, south: 44.490, east: -78.443, west: -78.649 }; // Define a rectangle and set its editable property to true. var rectangle = new google.maps.Rectangle({bounds: bounds, editable: true});
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/svUAD.png" rel="nofollow noreferrer">Please tries to expands rectangle to further right</a></p>
  
  <p>Is there a solution to resolve the scenario mentioned?</p>
  
  <p>Please let me know if further details required.</p>