Home Reference Source Repository
import MapInteractionBase from 'webmapsjs/src/olHelpers/mapInteractionBase.js'
public class | source

MapInteractionBase

Direct Subclass:

MapMoveCls, MapPopupCls

base interaction

Constructor Summary

Public Constructor
public

constructor(subtype: string)

map interaction base

Member Summary

Public Members
public get

get if is initialized

public get

map: ol.Map: *

get reference to the ol map object

Method Summary

Public Methods
public

Check the initialization status and throw exception if not valid yet

public

init(theMap: ol.Map): boolean

base initializer, returns true for already initialized

Protected Methods
protected

Check the initialization status and throw exception if not valid yet

Public Constructors

public constructor(subtype: string) source

map interaction base

Params:

NameTypeAttributeDescription
subtype string

the interaction subtype

Public Members

public get initialized: boolean: * source

get if is initialized

Return:

boolean

is initialized

public get map: ol.Map: * source

get reference to the ol map object

Return:

ol.Map

the map object

Public Methods

public checkInit() source

Check the initialization status and throw exception if not valid yet

public init(theMap: ol.Map): boolean source

base initializer, returns true for already initialized

Params:

NameTypeAttributeDescription
theMap ol.Map

the ol Map

Return:

boolean

true for already initialized

Protected Methods

protected _checkInit() source

Check the initialization status and throw exception if not valid yet