Skip to content

Commit

Permalink
add Unverified layer (not sure if it works), change colors of layers
Browse files Browse the repository at this point in the history
  • Loading branch information
K committed Nov 25, 2024
1 parent 6bc5bfe commit 784b7ab
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions nr-common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const TIMESAFARI_AUTHOR_PUBLIC_KEY =
export type MapLayer = {
title: string;
rootUrl: string;
kind: 30399 | 30398;
kind: 30399 | 30398 | 30397;
pubkey: string;
markerColor: string;
};
Expand All @@ -52,14 +52,21 @@ export const MAP_LAYERS = {
rootUrl: "https://www.timesafari.app",
kind: 30399,
pubkey: TIMESAFARI_AUTHOR_PUBLIC_KEY,
markerColor: "green",
markerColor: "blue",
} as MapLayer,
triphopping: {
title: "Trip Hopping",
rootUrl: "https://www.triphopping.com",
kind: 30398,
pubkey: DEV_PUBKEY,
markerColor: "blue",
markerColor: "brown",
} as MapLayer,
unverified: {
title: "Unverified",
rootUrl: "https://notes.trustroots.org",
kind: 30397,
pubkey: '*',
markerColor: "red",
} as MapLayer,
} as const;
export type MAP_LAYER_KEY = keyof typeof MAP_LAYERS;
Expand Down

0 comments on commit 784b7ab

Please sign in to comment.