* @private * @function WebMap.prototype.isFirefox * @description 判断当前浏览器是否为 firefox * @returns {boolean}
()
| 5394 | * @returns {boolean} |
| 5395 | */ |
| 5396 | isFirefox() { |
| 5397 | let userAgent = navigator.userAgent; |
| 5398 | return userAgent.indexOf('Firefox') > -1; |
| 5399 | } |
| 5400 | |
| 5401 | /** |
| 5402 | * @private |