Browser Compatibility-GoogleMaps/API/doc/Introduction/02-BrowserCompatibility-N☆E 学習帳

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

Counter: 3406, today: 2, yesterday: 1

Browser Compatibility

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

Version 2 (2006.4)

The Google Maps API supports the same browsers as the Google Local site. Since different applications require different behaviors for users with incompatible browsers, the Maps API provides a global method (GBrowserIsCompatible()) to check compatibility, but it does not have any automatic behavior when it detects an incompatible browser. The script http://maps.google.com/maps?file=api­& v=2 can be parsed in almost every browser without errors, so you can safely include that script before checking for compatibility.

None of the examples in this document check for compatibility (other than the first example, above), nor do they display an error message for older browsers. Clearly real applications should do something more friendly with incompatible browsers, but we have omitted such checks to make the examples more readable.

Non-trivial applications will inevitably encounter inconsistencies between browsers and platforms. There is no simple solution to these problems, but the Google Maps API discussion group and quirksmode.org are both good resources to find workarounds.

http://www.quirksmode.org/
http://groups.google.com/group/Googl­e-Maps-API
http://groups.google.com/group/Googl­e-Maps-API-Japan

Version 1

Google Maps is not compatible with every web browser. Google Maps currently supports recent versions of Firefox/Mozilla, IE 5.5+, Safari 1.2+, and sort of supports Opera. IE 5.0 is not supported. Since different applications require different behaviors for users with incompatible browsers, the Maps API provides a global method (GBrowserIsCompatible()) to check compatibility, but it does not have any automatic behavior for incompatible browsers. The script http://maps.google.com/maps?file=api­&v=1 will parse on almost every browser without errors, so you can safely include the script before checking for compatibility.

↓2005.12時点

Google Maps is not compatible with all web browsers. Google Maps currently supports recent versions of Firefox/Mozilla, IE 5.5+, and Safari 1.2+, and sort of supports Opera. IE 5.0 is not supported. Since different applications require different behaviors for users with incompatible browsers, the Maps API provides a global method (GBrowserIsCompatible()) to check compatibility, but it does not perform any automatic behavior when it detects an incompatible browser. The script http://maps.google.com/maps?file=api­&v=1 will parse in almost every browser without errors, so you can safely include that script before checking for compatibility.


None of the examples in this document besides the one above check for GBrowserIsCompatible(), nor do they print any message for older browsers. Clearly real applications should do something more friendly, but we have omitted these checks to make the examples more readable.

↓2005.12時点

None of the examples in this document check for compatibility (other than the first example, above), nor do they display an error message for older browsers. Clearly real applications should do something more friendly with incompatible browsers, but we have omitted such checks to make the examples more readable.
 
Note that certain browsers may have particular quirks regarding JavaScript. For example, IE doesn't allow JavaScript inside tables.


ブラウザの互換はないみたいなことが書かれている。

GBrowserIsCompatible()

互換チェックしろってか、