Class: module:Translate

ngeo.interaction.module:Translate.ngeo.interaction.module:Translate

new module:Translate(options)

An extension of the OpenLayers Translate interaction that adds the following features to it:

  • show a small arrow icon in the middle of the features allowing a visual aspect that tells the user "this feature can be moved"
  • pressing the ESC key automatically deactivate the interaction.
Parameters:
Name Type Description
options ngeox.interaction.TranslateOptions

Options.

Extends

  • ol.interaction.Translate