@stadiamaps/api
Version:
Stadia Maps Geospatial APIs
63 lines • 3.05 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.0.1
* 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.
*/
/**
* Our database is organized into several layers (in the GIS sense of the term) as follows:
*
* - `venue`: Points of interest, businesses, and things with walls
* - `address`: Places with a street address
* - `street`: Streets, roads, highways
* - `county`: Places that issue passports, nations, nation-states
* - `macroregion`: A related group of regions (mostly in Europe)
* - `region`: The first administrative division within a country (usually states and provinces)
* - `macrocounty`: A related group of counties (mostly in Europe)
* - `county`: Official governmental areas; usually bigger than a locality, but almost always smaller than a region
* - `locality`: Towns, hamlets, cities, etc.
* - `localadmin`: Local administrative boundaries
* - `borough`: Local administrative boundaries within cities (not widely used, but present in places such as NYC and Mexico City)
* - `neighbourhood`: Social communities and neighborhoods (note the British spelling in the API!)
* - `postalcode`: Postal codes used by mail services (note: not used for reverse geocoding)
* - `coarse`: An alias for simultaneously using all administrative layers (everything except `venue` and `address`)
* - `marinearea`: Places with fishes and boats.
* - `ocean`: A really big marine area.
*
* @export
*/
export declare const GeocodingLayer: {
readonly Venue: "venue";
readonly Address: "address";
readonly Street: "street";
readonly Country: "country";
readonly Macroregion: "macroregion";
readonly Region: "region";
readonly Macrocounty: "macrocounty";
readonly County: "county";
readonly Locality: "locality";
readonly Localadmin: "localadmin";
readonly Borough: "borough";
readonly Neighbourhood: "neighbourhood";
readonly Postalcode: "postalcode";
readonly Coarse: "coarse";
readonly Dependency: "dependency";
readonly Macrohood: "macrohood";
readonly Marinearea: "marinearea";
readonly Disputed: "disputed";
readonly Empire: "empire";
readonly Continent: "continent";
readonly Ocean: "ocean";
};
export type GeocodingLayer = (typeof GeocodingLayer)[keyof typeof GeocodingLayer];
export declare function instanceOfGeocodingLayer(value: any): boolean;
export declare function GeocodingLayerFromJSON(json: any): GeocodingLayer;
export declare function GeocodingLayerFromJSONTyped(json: any, ignoreDiscriminator: boolean): GeocodingLayer;
export declare function GeocodingLayerToJSON(value?: GeocodingLayer | null): any;
export declare function GeocodingLayerToJSONTyped(value: any, ignoreDiscriminator: boolean): GeocodingLayer;
//# sourceMappingURL=GeocodingLayer.d.ts.map