Browser
AMap.Browser
Contains some information about the current browser
Property description
Attribute | Type | Description |
us | Current browser userAgent | |
mobile | Is it a mobile device | |
plat | Platform type, such as: 'windows', 'mac', 'ios', 'android', 'other' | |
windows | Is it a Windows device | |
ios | Is it an iOS device | |
iPad | Is it an iPad | |
Phone | Is it an iPhone | |
android | Is it an Android device | |
android23 | Is it Android version 4 or below | |
chrome | Is it Chrome browser | |
firefox | Is it Firefox browser | |
safari | Is it Safari browser | |
Is it WeChat | ||
uc | Is it UC browser | |
Is it QQ or QQ browser | ||
ie | Is it IE | |
ie6 | Is it IE6 | |
ie7 | Is it IE7 | |
ie8 | Is it IE8 | |
ie9 | Is it IE9 | |
ie10 | Is it IE10 | |
ie11 | Is it IE11 | |
ielt9 | Is it below IE9 | |
edge | Is it Edge browser | |
isLocalStorage | Does it support LocalStorage | |
isGeolocation | Does it support Geolocation | |
mobileWebkit | Is it a Webkit mobile browser | |
mobileWebkit3d | Does it support Css3D Webkit mobile browser | |
retina | Is it a high-definition screen, devicePixelRatio>1 | |
touch | Is it a touch screen | |
msPointer | Is it an msPointer device | |
pointer | Is it a pointer device | |
webkit | Is it a Webkit browser | |
webkit3d | Does it support Css3D Webkit browser | |
gecko3d | Does the Gecko browser support Css3D | |
ie3d | Does the IE browser support Css3D | |
any3d | Does the browser support Css3D | |
opera3d | Does the Opera browser support Css3D | |
isCanvas | Does it support canvas | |
isSvg | Does it support svg | |
isVML | Does it support vml | |
isWorker | Does it support WebWorker | |
isWebsocket | Does it support WebSocket | |
isWebGL | Does it support webgl |