(coordSys: CoordinateSystem)
| 265 | } |
| 266 | |
| 267 | export function isGeoLikeCoordSys(coordSys: CoordinateSystem): coordSys is GeoLikeCoordSys { |
| 268 | const dimensions = coordSys.dimensions; |
| 269 | // Not use coordSys.type === 'geo' because coordSys maybe extended |
| 270 | return dimensions[0] === 'lng' && dimensions[1] === 'lat' && !!coordSys.getViewRect; |
| 271 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…