/** * Marker shape paths. * * Generated rather than shipped as a sprite sheet or icon font: a path scales to * any size without a second asset, needs no image load, and cannot fail CORS. * Seven shapes is the whole set, and `shape: 'custom'` is not offered because a * caller who needs their own glyph can pass a path through `markerPath`. * * Every shape is centred on the origin and sized so that `size` is the width of * its bounding box, so a square and a circle of the same `size` read as the same * weight on the page. The exception is `pin`, which is anchored at its point, * because a pin that floats above the place it marks is a pin pointing at * nothing. * * @module renderers/Shapes */ import type { MarkerShape } from '../types'; /** * Path data for a shape, centred on (0, 0), except `pin` whose tip is at (0, 0). * */ export declare function markerPath(shape: MarkerShape, size: number): string; /** Shapes whose anchor is their tip rather than their centre. */ export declare function isPointAnchored(shape: MarkerShape): boolean; export declare const MARKER_SHAPES: MarkerShape[]; //# sourceMappingURL=Shapes.d.ts.map