/** * @param {angular.IScope} $scope Scope. * @class * @hidden * @ngdoc controller * @ngname ngeoCreateregularpolygonfromclickController */ export function Controller($scope: angular.IScope): void; export class Controller { /** * @param {angular.IScope} $scope Scope. * @class * @hidden * @ngdoc controller * @ngname ngeoCreateregularpolygonfromclickController */ constructor($scope: angular.IScope); /** * @type {boolean} */ active: boolean; /** * @type {?number} */ angle: number | null; /** * @type {?import('ol/Collection').default>} */ features: import("ol/Collection").default> | null; /** * @type {?import('ol/Map').default} */ map: import("ol/Map").default | null; /** * @type {number} */ radius: number; /** * @type {?number} */ sides: number | null; /** * @type {?import('ngeo/interaction/DrawRegularPolygonFromClick').default} */ interaction_: import("ngeo/interaction/DrawRegularPolygonFromClick").default | null; /** * @type {?import('ol/events').EventsKey} */ interactionListenerKey_: import("ol/events").EventsKey | null; /** * Initialize the directive. */ $onInit(): void; /** * Called when a feature is finished being drawn. Add the feature to the * collection. * * @param {import('ngeo/CustomEvent').default} evt Event. */ handleDrawEnd_(evt: import("ngeo/CustomEvent").default): void; /** * Cleanup event listeners and remove the interaction from the map. */ handleDestroy_(): void; } export namespace Controller { let $inject: string[]; } export default myModule; import angular from 'angular'; import olFeature from 'ol/Feature'; /** * @type {angular.IModule} * @hidden */ declare const myModule: angular.IModule;