Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
import type { Location } from "@/types/proto/api/memo_service_pb";
export const getLocationDisplayText = (location: Location): string => {
return location.placeholder.trim() || getLocationCoordinatesText(location);
};
export const getLocationCoordinatesText = (location: Location, digits = 4): string => {
return `${location.latitude.toFixed(digits)}°, ${location.longitude.toFixed(digits)}°`;
};