Class: Scale

IDEE/control/Scale~Scale


import Scale from 'IDEE/control/Scale';

Agregar escala numérica.

new Scale(options)

facade/js/control/Scale.js, line 23

Constructor principal de la clase.

Name Type Description
options Object

Opciones del control.

  • Order: Orden que tendrá con respecto al resto de plugins y controles por pantalla.
  • exactScale: Escala exacta.
Properties:
Name Type Description
order Number

Orden que tendrá con respecto al resto de plugins y controles por pantalla.

Extends

  • IDEE.Control

Members

module:IDEE/control/Scale~Scale.NAME{string}

Nombre del control.

Methods

createView(map){Promise}

facade/js/control/Scale.js, line 61

Esta función crea la vista del mapa especificado.

Name Type Description
map IDEE.Map

Mapa

Returns:
Plantilla HTML.

equals(obj){boolean}

facade/js/control/Scale.js, line 108

Esta función comprueba si un objeto es igual a este control.

Name Type Description
obj *

Objeto a comparar.

Returns:
Iguales devuelve verdadero, falso si no son iguales.

getHelp()

facade/js/control/Scale.js, line 79

Obtiene la ayuda del control