Class: Features

Features

Main constructor of the class. Creates a layer
with parameters specified by the user


new Features()

Source:

Extends

Methods


activate()

function adds the event 'click'

Source:

addLayer(panel)

Sets the panel of the control

Parameters:
Name Type Description
panel M.ui.Panel
Source:

addTo(map)

This function adds the control to the specified map

Parameters:
Name Type Description
map M.Map

to add the plugin

Source:

deactivate()

function remove the event 'click'

Source:

destroy()

Destroys the handler

Source:

fire()

Sets the callback when the instace is loaded

Inherited From:
Source:

getImpl()

This function provides the implementation
of the object

Inherited From:
Source:
Returns:
Type
Object

on()

Sets the callback when the instace is loaded

Inherited From:
Source:

once()

Sets the callback when the instace is loaded

Inherited From:
Source:

removeLayer()

Gets the panel of the control

Source:
Returns:
Type
M.ui.Panel

selectFeatures()

TODO

Source:

setImpl(impl)

This function set implementation of this control

Parameters:
Name Type Description
impl M.Map

to add the plugin

Inherited From:
Source:

un()

Sets the callback when the instace is loaded

Inherited From:
Source:

unselectFeatures()

TODO

Source: