mappls-map-react-native
Version:
A Mappls GL react native module for creating custom maps
42 lines (34 loc) • 875 B
text/typescript
import { AddressTokens } from "./AdressTokenModel";
export interface AutoSuggestAtlasResponse {
suggestedLocations?: Array<ELocation>;
userAddedLocations?: Array<ELocation>;
suggestedSearches?:Array<SuggestedSearchAtlas>;
explaination: AtlasExplaination;
}
export interface ELocation {
mapplsPin:string;
placeAddress:string;
latitude:number;
longitude:number;
type:string;
typeX:number;
placeName:string;
entryLatitude:number;
entryLongitude:number;
keywords:Array<string>;
addressTokens: AddressTokens;
orderIndex:number;
distance:number;
}
export interface SuggestedSearchAtlas {
keyword:string;
identifier:string;
location:string;
hyperLink:string;
orderIndex:number;
}
export interface AtlasExplaination {
isKeyword: boolean;
keyword:string;
refLocation:string;
}