Class: DrawRegularPolygonFromClick

ngeo.interaction.DrawRegularPolygonFromClick

This interactions allows drawing regular polygons of a pre-determined number of sides and size a a clicked location on the map.

Constructor

new DrawRegularPolygonFromClick(options)

Parameters:
Name Type Description
options ngeox.interaction.DrawRegularPolygonFromClickOptions

Options

Fires:
  • ol.interaction.Draw.event:Event

Extends

Methods

setActive(active)

Activate or deactivate the interaction.

Parameters:
Name Type Description
active boolean

Active.

setMap()