mirror of
https://github.com/Queer-Lexikon/regenbogenkarte
synced 2024-11-22 04:03:07 +00:00
e98c3de747
This commit includes all data from the current map, excluding: - the actual data - the deployment script to the server We've added a comprehensive README for newcomers, so that they can understand what's going on. Co-authored-by: xenia <xhartmann@posteo.de>
16 lines
754 B
TypeScript
16 lines
754 B
TypeScript
import defaultImage from "../assets/default.svg";
|
|
import limitedImage from "../assets/limited.svg";
|
|
import supportImage from "../assets/support.svg";
|
|
|
|
export const ICON_SIZE: L.PointExpression = [56, 56];
|
|
export const DEFAULT_ZOOM_LEVEL = 11;
|
|
export const MAX_ZOOM_LEVEL = 17;
|
|
export const MIN_ZOOM_LEVEL = 6;
|
|
|
|
export const NAVIGATE_TO_URI = "https://www.google.com/search?&q=wikipedia";
|
|
export const NEW_TAB_URI = "https://de.wikipedia.org/wiki/Wikipedia:Hauptseite";
|
|
|
|
export const LEGEND_MAPPING = new Map<string, [string, string]>();
|
|
LEGEND_MAPPING.set("default", [defaultImage, "Allgemeines"]);
|
|
LEGEND_MAPPING.set("support", [supportImage, "Unterstützung und Beratung"]);
|
|
LEGEND_MAPPING.set("limited", [limitedImage, "eingeschränkte Zielgruppe"]);
|