@stadiamaps/api
Version:
Stadia Maps Geospatial APIs
51 lines • 1.66 kB
TypeScript
/**
* Stadia Maps Geospatial APIs
* The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
*
* The version of the OpenAPI document: 10.1.2
* Contact: support@stadiamaps.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface GeoJSONPoint
*/
export interface GeoJSONPoint {
/**
*
* @type {string}
* @memberof GeoJSONPoint
*/
type: GeoJSONPointTypeEnum;
/**
*
* @type {Array<number>}
* @memberof GeoJSONPoint
*/
coordinates: Array<number>;
}
/**
* @export
*/
export declare const GeoJSONPointTypeEnum: {
readonly Point: "Point";
readonly MultiPoint: "MultiPoint";
readonly LineString: "LineString";
readonly MultiLineString: "MultiLineString";
readonly Polygon: "Polygon";
readonly MultiPolygon: "MultiPolygon";
};
export type GeoJSONPointTypeEnum = (typeof GeoJSONPointTypeEnum)[keyof typeof GeoJSONPointTypeEnum];
/**
* Check if a given object implements the GeoJSONPoint interface.
*/
export declare function instanceOfGeoJSONPoint(value: object): value is GeoJSONPoint;
export declare function GeoJSONPointFromJSON(json: any): GeoJSONPoint;
export declare function GeoJSONPointFromJSONTyped(json: any, ignoreDiscriminator: boolean): GeoJSONPoint;
export declare function GeoJSONPointToJSON(json: any): GeoJSONPoint;
export declare function GeoJSONPointToJSONTyped(value?: GeoJSONPoint | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=GeoJSONPoint.d.ts.map