Skip to the content

Hata旗

Load a native country or region flag, choose supported framing and keep each drawing’s source, author and licence.

Hata (旗) is Japanese for a flag. About the name

Contents

Reference · Military flags (naval ensigns, jacks and war flags)

MILITARY_RESTRICTED_IDSconstant

The ids of the flags shipped for history and education and never given by default: the Confederate battle flag of the Army of Northern Virginia and the Confederate States Navy's jack. They are in no list, group or picker; militaryFlag(id, { allowRestricted: true }) draws one, and militaryInfo(id)?.restricted says why it is withheld.

Import it

import { MILITARY_RESTRICTED_IDS } from "@johnmorrisdotca/hata/military";

Definition

const MILITARY_RESTRICTED_IDS: readonly MilitaryRecordId[] = set.restrictedIds as readonly MilitaryId[]

Examples

import { MILITARY_RESTRICTED_IDS } from "@johnmorrisdotca/hata/military";

console.log(MILITARY_RESTRICTED_IDS); // ["mil:cs-battle-flag", "mil:cs-naval-jack"]
[ 'mil:cs-battle-flag', 'mil:cs-naval-jack' ]

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/hata 1.31.0.