@paperbits/core
Version:
Paperbits core components.
43 lines (35 loc) • 782 B
text/typescript
import { Geolocation } from "@paperbits/common/geocoding/geolocation";
export interface MapRuntimeConfig {
/**
* Google Maps API key.
*/
apiKey: string;
/**
* Location shown on the map, e.g. "Seattle, WA".
*/
location: Geolocation;
/**
* Location pin caption, e.g. "Space needle".
*/
caption: string;
/**
* Map zoom level.
*/
zoom: number;
/**
* Map type, e.g. "terrain", "satellite" or "hybrid".
*/
mapType: string;
/**
* Marker icon URL.
*/
markerIcon: string;
/**
* Marker popup key.
*/
markerPopupKey?: string;
/**
* Map customizations (depends on map type).
*/
customizations: any;
}