-
glennvorhes authoredglennvorhes authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
mapInteractionBase.d.ts 1000 B
import Map from 'ol/Map';
/**
* base interaction
*/
export declare class MapInteractionBase {
_map: Map;
_initialized: boolean;
_subtype: string;
/**
* map interaction base
* @param subtype - the interaction subtype
*/
constructor(subtype: string);
/**
* base initializer, returns true for already initialized
* @param theMap - the ol Map
* @returns true for already initialized
*/
init(theMap: Map): void;
/**
* get reference to the ol map object
* @returns {ol.Map} the map object
*/
readonly map: Map;
/**
* get if is initialized
* @returns {boolean} is initialized
*/
readonly initialized: boolean;
/**
* Check the initialization status and throw exception if not valid yet
* @protected
*/
_checkInit(): void;
/**
* Check the initialization status and throw exception if not valid yet
*/
checkInit(): void;
}
export default MapInteractionBase;