@idm-plugin/ghg
Version:
idm plugin for greenhouse gas
41 lines (40 loc) • 1.11 kB
TypeScript
export declare class UkBoundHelper {
static gbBoundaries: any;
static niBoundaries: any;
/**
* Check if the port is in the Great Britain boundaries.
* @param port 位置
* @param options
* @returns true if the port is in the Great Britain boundaries.
*/
static isInGB(port: {
lat: number;
lng: number;
}, options?: {
requestId?: string;
}): Promise<any>;
/**
* Check if the port is in the Northern Ireland boundaries.
* @param port 位置
* @param options
* @returns true if the port is in the Northern Ireland boundaries.
*/
static isInNI(port: {
lat: number;
lng: number;
}, options?: {
requestId?: string;
}): Promise<any>;
/**
* Check if the port is in the UK boundaries (Great Britain or Northern Ireland).
* @param port 位置
* @param options
* @returns true if the port is in the UK boundaries.
*/
static isInUK(port: {
lat: number;
lng: number;
}, options?: {
requestId?: string;
}): Promise<any>;
}