* @private * @function WebMap.prototype.isChrome * @description 判断当前浏览器是否为谷歌 * @returns {boolean}
()
| 5405 | * @returns {boolean} |
| 5406 | */ |
| 5407 | isChrome() { |
| 5408 | let userAgent = navigator.userAgent; |
| 5409 | return userAgent.indexOf('Chrome') > -1; |
| 5410 | } |
| 5411 | |
| 5412 | /** |
| 5413 | * @private |