geogrid-maplibre-gl
Version:
GeoGrid is a MapLibre GL JS plugin for adding a highly customizable geographic grid (graticule) to your map.
4 lines (3 loc) • 314 B
TypeScript
import { LabelStyle } from '../main';
export declare const createLabelsContainerElement: () => HTMLDivElement;
export declare const createLabelElement: (value: number, x: number, y: number, align: "left" | "right" | "top" | "bottom", format: (degress: number) => string, labelStyle: LabelStyle) => HTMLDivElement;