yeah , i tried this:

 $_output .= "var bds = new GLatLngBounds(new GLatLng($this-
>_min_lat, $this->_min_lon), new GLatLng($this->_max_lat, $this-
>_max_lon));\n";

            $_output .= 'var zoom=map.getBoundsZoomLevel(bds ); alert
(zoom);';

But it alerts the same value, i.e 17 for all the search parameters.

On Aug 19, 7:36 pm, Mike Williams <[email protected]> wrote:
> Wasn't it kul who wrote:
>
> >            $_output .= 'var zoom=map.getBoundsZoomLevel(); alert
> >(zoom);';
>
> map.getBoundsZoomLevel() crashes if you don't pass it any parameters.
>
> --
> Mike Williamshttp://econym.org.uk/gmap
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to