* @function MapvLayer.prototype.getTopLeft * @description 获取左上的坐标。
()
| 208 | * @description 获取左上的坐标。 |
| 209 | */ |
| 210 | getTopLeft() { |
| 211 | var map = this.map; |
| 212 | var topLeft; |
| 213 | if (map) { |
| 214 | var bounds = map.getBounds(); |
| 215 | topLeft = bounds.getNorthWest(); |
| 216 | } |
| 217 | return topLeft; |
| 218 | } |
| 219 | |
| 220 | /** |
| 221 | * @function MapvRenderer.prototype.bindEvent |
no test coverage detected