GInfoWindowOptions [class]-GoogleMaps/API/doc/ClassReference/20-GInfoWindowOptions-N☆E 学習帳

[ リロード ]   [ ソース ]  [ トップ | 一覧 | 単語検索 | 最新 | バックアップ | ヘルプ ]

Counter: 2637, today: 2, yesterday: 1

GInfoWindowOptions [class]

http://www.google.com/apis/maps/docu­mentation/

Version 2 (2006.4) 新規

Instances of this class are used in the opts? argument to the methods openInfoWindow(), openInfoWindowHtml(), openInfoWindowTabs(), openInfoWindowTabsHtml(), and showMapBlowup() of classes GMap2 and GMarker. There is no constructor for this class. Instead, this class is instantiated as javascript object literal.

Properties

As the name of this class indicates, all properties are optional.

Properties Type Description
selectedTab Number Selects the tab with the given index, starting at 0, instead of the first tab (with index 0).
maxWidth Number Maximum width of the info window content, in pixels.
onOpenFn Function Function is called after the info window is opened and the content is displayed.
onCloseFn Function Function is called when the info window is closed.
zoomLevel Number Pertinent for showMapBlowup() only. The zoom level of the blowup map in the info window.
mapType GMapType Pertinent for showMapBlowup() only. The map type of the blowup map in the info window.