2021-06-11 20:35:20 -04:00
|
|
|
interface MapViewport {
|
|
|
|
position: [number, number];
|
|
|
|
zoom: number;
|
|
|
|
}
|
|
|
|
|
|
|
|
export const initialMapViewport: MapViewport = {
|
|
|
|
position: [51.5245255, -0.1338422], // lat,lng
|
|
|
|
zoom: 16,
|
2021-05-02 13:24:27 -04:00
|
|
|
};
|
|
|
|
|
2021-05-04 12:17:14 -04:00
|
|
|
export type MapTheme = 'light' | 'night';
|
|
|
|
|
|
|
|
export const mapBackgroundColor: Record<MapTheme, string> = {
|
|
|
|
light: '#F0EEEB',
|
|
|
|
night: '#162639'
|
|
|
|
};
|