M/handler/Feature~Features


import Features from 'M/handler/Feature';

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

new Features()

facade/js/handler/Feature.js, line 26

Extends

  • M.facade.Base

Methods

activate()

facade/js/handler/Feature.js, line 251

function adds the event 'click'

addLayer(panel)

facade/js/handler/Feature.js, line 282

Sets the panel of the control

Name Type Description
panel M.ui.Panel

addTo(map)

facade/js/handler/Feature.js, line 83

This function adds the control to the specified map

Name Type Description
map M.Map

to add the plugin

changeNamePrevs(id, newID)

facade/js/handler/Feature.js, line 101

This function modifies the objects a and b after changing the ID of the layer

Name Type Description
id Number

ID layer

newID Number

New ID layer

deactivate()

facade/js/handler/Feature.js, line 266

function remove the event 'click'

destroy()

facade/js/handler/Feature.js, line 315

Destroys the handler

removeLayer(){M.ui.Panel}

facade/js/handler/Feature.js, line 299

Gets the panel of the control

selectFeatures()

facade/js/handler/Feature.js, line 188

TODO

unselectFeatures()

facade/js/handler/Feature.js, line 205

TODO