import Extent from '../geo/Extent'; import Geometry, { GeometryOptionsType } from './Geometry'; import { AnyMarkerSymbol } from '../symbol'; import Coordinate from '../geo/Coordinate'; import Point from '../geo/Point'; declare const Marker_base: { new (...args: any[]): { _coordinates: Coordinate; _pcenter: Coordinate; _dirtyCoords: boolean; getMap?(): import("..").Map; _getProjection?(): { code: string; is(code: string): boolean; project(p: Coordinate): Coordinate; unproject(p: Coordinate): Coordinate; projectCoords(coordinates: Coordinate[] | Coordinate[][] | Coordinate[][][], antiMeridian?: boolean): Coordinate[] | Coordinate[][] | Coordinate[][][]; unprojectCoords(projCoords: Coordinate[] | Coordinate[][] | Coordinate[][][]): Coordinate[] | Coordinate[][] | Coordinate[][][]; isSphere(): boolean; isOutSphere(pcoord: Coordinate): boolean; wrapCoord(pcoord: Coordinate): Coordinate; getCircum(): Record; getSphereExtent(): Extent; }; onPositionChanged?(): void; _verifyProjection?(): void; _clearCache?(): void; _translateRotatePivot?(coordinate: Coordinate): any; getCoordinates(): Coordinate; setCoordinates(coordinates: Coordinate | number[]): any; _getCenter2DPoint(res?: number): Point; _getPrjCoordinates(): Coordinate; _setPrjCoordinates(pcenter: Coordinate): void; _updateCache(): void; _clearProjection(): void; _computeCenter(): Coordinate; }; } & typeof Geometry; /** * @classdesc * Represents a Point type Geometry. * @category geometry * @extends Geometry * @mixes CenterMixin * @example * var marker = new Marker([100, 0], { * 'id' : 'marker0', * 'symbol' : { * 'markerFile' : 'foo.png', * 'markerWidth' : 20, * 'markerHeight': 20, * }, * 'properties' : { * 'foo' : 'value' * } * }); */ export declare class Marker extends Marker_base { isPoint: boolean; /** * @param {Coordinate} coordinates - coordinates of the marker * @param {Object} [options=null] - construct options defined in [Marker]{@link Marker#options} */ constructor(coordinates: MarkerCoordinatesType, options?: MarkerOptionsType); getOutline(): Marker; setSymbol(symbol: AnyMarkerSymbol | Array): this; } export default Marker; export type MarkerCoordinatesType = Coordinate | Array; export type MarkerOptionsType = GeometryOptionsType & { hitTestForEvent?: boolean; collision?: boolean; symbol?: AnyMarkerSymbol | Array; }; //# sourceMappingURL=Marker.d.ts.map