GSBrowser
Provides a namespace for properties related to the user browser, version, and host platform.
An instance of GSBrowser is created when the SmartFIND API is loaded in the user's browser. It's properties can be accessed in the following way:
if(_browser.isFirefox) {
// do firefox code
} else if(_browser.isIE) {
// do IE code
}
| Method Summary |
| boolean | isSmartfindCompatible() Tests if the browser is compatible with the SmartFIND API |
| boolean | isVectorGraphicsCapable() Tests if the browser is capable of displaying map features created with the SmartFIND Vector Graphics API |
Object
firefoxVersion Object
isFirefox Object
isGecko Object
isIE Object
isIE55 Object
isIE6up Object
isIE6x Object
isIE7x Object
isOpera Object
isSafari Object
isWin Object
isWin32 Object
pngAlpha Object
svg Object
versionMajor Object
versionMinor GSBrowser()
boolean
isSmartfindCompatible()
Tests if the browser is compatible with the SmartFIND API
-
true if the browser is compatible
Returns:
boolean
isVectorGraphicsCapable()
Tests if the browser is capable of displaying map features created with the SmartFIND Vector Graphics API
-
true if the browser is vector graphics compatible
Returns: