* @private * @function WebMap.prototype.getChromeVersion * @description 获取谷歌浏览器版本号 * @returns {number}
()
| 5428 | * @returns {number} |
| 5429 | */ |
| 5430 | getChromeVersion() { |
| 5431 | let userAgent = navigator.userAgent.toLowerCase(), |
| 5432 | version = userAgent.match(/chrome\/([\d.]+)/); |
| 5433 | return +version[1]; |
| 5434 | } |
| 5435 | |
| 5436 | /** |
| 5437 | * @private |