* @function Bounds.prototype.getCenterPixel * @description 获取像素格式的范围中心点。 * @example * var bounds = new Bounds(-180,-90,100,80); * var pixel = bounds.getCenterPixel(); * @returns {Pixel} 像素格式的当前范围的中心点。
()
| 230 | * @returns {Pixel} 像素格式的当前范围的中心点。 |
| 231 | */ |
| 232 | getCenterPixel() { |
| 233 | return new Pixel((this.left + this.right) / 2, |
| 234 | (this.bottom + this.top) / 2); |
| 235 | } |
| 236 | |
| 237 | /** |
| 238 | * @function Bounds.prototype.getCenterLonLat |
no outgoing calls
no test coverage detected