Class: Attributions

IDEE/impl/control/Attributions~Attributions


import Attributions from 'IDEE/impl/control/Attributions';

Panel de atribuciones API-CING.

new Attributions()

impl/ol/js/control/Attributions.js, line 12

Constructor principal de la clase.

Extends

  • ol.control.Control

Methods

addTo(map, template)

impl/ol/js/control/Attributions.js, line 39

Este método agrega el control al mapa.

Name Type Description
map IDEE.Map

Mapa.

template function

Plantilla del control.

destroy()

impl/ol/js/control/Attributions.js, line 68

Esta función destruye este control, limpiando el HTML y anula el registro de todos los eventos.