mirror of
https://github.com/DerTyp7/local-analyzer-angular.git
synced 2025-10-29 12:52:14 +01:00
33 lines
592 B
TypeScript
33 lines
592 B
TypeScript
interface PhotonGeometry {
|
|
coordinates: Array<number>;
|
|
type?: string;
|
|
}
|
|
|
|
interface PhotonProperties {
|
|
osm_id?: number;
|
|
osm_type?: string;
|
|
extent?: Array<number>;
|
|
country?: string;
|
|
osm_key?: "place";
|
|
countrycode?: string;
|
|
osm_value?: string;
|
|
name?: string;
|
|
type?: string;
|
|
postcode?: string;
|
|
city?: string;
|
|
housenumber?: number;
|
|
street?: string;
|
|
state?: string;
|
|
}
|
|
|
|
export interface Photon {
|
|
properties: PhotonProperties;
|
|
geometry?: PhotonGeometry;
|
|
type?: string;
|
|
}
|
|
|
|
export interface PhotonFeatureCollection {
|
|
features?: Array<Photon>;
|
|
type?: string;
|
|
}
|