Note: API v2.146 is not yet live. It's possible that the code may be
changed before it goes live. It's not a good idea to use pre-release
versions for live sites.
New Class
GMapUIOptions(?gsize)
Deleted Methods
map.setDefaultUI()
GMarker.bindInfoWindowTabsHtml()
GGjw.search()
GGjw.setCache()
GGjw.setSearchCountryCode()
GGjw.setSearchViewport()
New Methods
map.setUIToDefault()
GClientGeocoder.getAddressInBounds(bounds,callback)
Changed behaviour
The GLog panel is always displayed, even if you never call GLog.
GMapUIOptions is the class that describes the object returned by
map.getDefaultUI() and used by map.setUI().
The class has no properties or methods. You can use the class without
a gsize parameter to create a UI from scratch
var ui = new GMapUIOptions();
ui.maptypes = {normal:true}
ui.zoom = {};
ui.controls = {};
map.setUI(ui);
but using
var ui = new Object();
works just as well. A UI passed to map.setUI() must
have .maptypes, .zoom, and .controls. If .maptypes is empty, then
{hybrid:true} is used.
Or you can pass a gsize parameter, in which case
var ui = new GMapUIOptions(new GSize(800,400));
returns the default UI for a map which has the specified size.
Below (400,300) the map has a smallZoonControl3d and a
menumaptypecontrol. If both dimensions of the map are larger than
that, then the default has largemapcontrol3d, maptypecontrol and
scalecontrol.
Calling map.setUIToDefault() has the same effect as calling map.setUI
(map.getDefaultUI()).
GClientGeocoder.getAddressInBounds() takes a GLatLngBounds as its
first parameter. It seems to perform reverse geocoding on the centre
point of those bounds, but returns only one Placemark, presumably the
one that has a size that is the best fit to the bounds.
The deletion of GMarker.bindInfoWindowTabsHtml() is presumably an
error, because it's a documented feature.
The automatic display of the GLog panel is presumably an error.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---