Use Google Maps API to Search Within a Place
===

i was trying to figure out a way to search a particular place like New York within a 25 mile radius. However it keeps going off the map everytime I search something.
   
Let me know if you figure this out Thanks!
    
    <html lang="en">
      <head>
        <meta charset="utf-8" />
        <script src="//maps.google.com/maps?file=api&amp;v=2.x&amp;key=AIzaSyAovmSAjWMyIGlSHCI8mYL6f0kXUTXPiTs"
          type="text/javascript"></script>
        <script type="text/javascript">
            function call() {
            var createmap;
            if (GBrowserIsCompatible()) {
              var opt = {
                googleBarOptions : {
                  style : "new",
                  searchFormHint : "Enter Places Here!"
                }
              }
              createmap = new GMap2(document.getElementById("canvas"), opt);
              createmap.setCenter(new GLatLng(40.714623, -74.006605), 13); 
              createmap.setUIToDefault();
              createmap.enableGoogleBar();
            }
          }
        </script>
      </head>
      <body onload="call()" onunload="GUnload()">
        <div id="canvas" style="width: 500px; height: 500px"></div>
      </body>
    </html>​
    
   