@itwin/core-backend
Version:
iTwin.js backend components
19 lines • 1 kB
JavaScript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
* @module iModels
*/
import { IModelNative } from "./internal/NativePlatform";
import { GeoCoordConfig } from "./GeoCoordConfig";
/** Get a list of Geographic Coordinate Reference Systems.
* @param options Specifies the parameters to filter the returned list.
* @returns The list of Geographic Coordinate Reference Systems, according to the supplied parameters.
* @beta
*/
export async function getAvailableCoordinateReferenceSystems(args) {
GeoCoordConfig.loadDefaultDatabases();
return IModelNative.platform.GeoServices.getListOfCRS(args.extent, args.includeWorld);
}
//# sourceMappingURL=GeographicCRSServices.js.map