colouring-montreal/app/src/frontend/config/map-config.ts
2021-06-12 01:35:20 +01:00

17 lines
342 B
TypeScript

interface MapViewport {
position: [number, number];
zoom: number;
}
export const initialMapViewport: MapViewport = {
position: [51.5245255, -0.1338422], // lat,lng
zoom: 16,
};
export type MapTheme = 'light' | 'night';
export const mapBackgroundColor: Record<MapTheme, string> = {
light: '#F0EEEB',
night: '#162639'
};