import { type IGeoLngLat } from "../common/coordinates.js"; import { type IGeoAttributeItem, type IGeoCommonData, type IGeoDataItem, type IGeoMeasureItem } from "./common.js"; /** * Represents a location item with coordinate data * * @internal */ export interface IPushpinLocationItem extends IGeoDataItem { /** * Array of coordinates for each location */ data: IGeoLngLat[]; } /** * Represents pushpin color configuration * * @remarks * Defines both border and background colors for map pushpins * * @internal */ export interface IPushpinColor { /** * Border color in CSS color format (e.g., "rgb(233,237,241)") */ border: string; /** * Background color in CSS color format (e.g., "rgba(0,211,152,0.7)") */ background: string; } /** * Complete geo data structure * * @remarks * Contains all data needed to render the geo pushpin chart including * locations, sizes, colors, segments, and tooltip text * * @internal */ export interface IPushpinGeoData extends IGeoCommonData { /** * Location coordinates for pushpins */ location?: IPushpinLocationItem; /** * Size measure data (determines pushpin size) */ size?: IGeoMeasureItem; /** * Measure data (shown in tooltip, does not affect size or color) */ measures?: IGeoMeasureItem[]; /** * Geo icon label data (icon names resolved from GDC.geo.icon attribute) */ geoIcon?: IGeoAttributeItem; } //# sourceMappingURL=pushpin.d.ts.map