@geogirafe/lib-geoportal
Version:
GeoGirafe is a flexible application to build online geoportals.
29 lines (28 loc) • 634 B
TypeScript
import { Coordinate } from 'ol/coordinate.js';
export type MapMarkerTooltip = {
title: string;
content?: string;
};
export type MapMarker = {
imageUrl: string;
position: Coordinate;
size?: number[];
offset?: number[];
tooltip?: MapMarkerTooltip;
};
declare class MapPosition {
center: Coordinate;
zoom?: number;
resolution?: number;
scale?: number;
crosshair?: Coordinate;
tooltip?: {
title?: string;
content: string;
position?: Coordinate;
};
markers: MapMarker[];
get isValid(): boolean;
clone(): MapPosition;
}
export default MapPosition;