UNPKG

@giro3d/giro3d

Version:

A JS/WebGL framework for 3D geospatial data visualization

48 lines (44 loc) 997 B
/* * Copyright (c) 2015-2018, IGN France. * Copyright (c) 2018-2026, Giro3D team. * SPDX-License-Identifier: MIT */ import type { ColorRepresentation } from 'three'; /** * Options for map graticules. */ export interface GraticuleOptions { /** * Enables the graticule. */ enabled: boolean; /** * The graticule thickness, in CRS units. */ thickness: number; /** * The graticule color. */ color: ColorRepresentation; /** * The distance between vertical lines, in CRS units. */ xStep: number; /** * The distance between horizontal lines, in CRS units. */ yStep: number; /** * The X coordinate of the starting point of the graticule, in CRS units. */ xOffset: number; /** * The Y coordinate of the starting point of the graticule, in CRS units. */ yOffset: number; /** * The graticule opacity. */ opacity: number; } export default GraticuleOptions;