Skip to main content

IScale

geovisto-map • Readme | API


geovisto-map / IScale

Interface: IScale

This interface declares functions for using choropleth scale.

Author​

Jiri Hynek

Extends​

Methods​

getName()​

getName(): string

It returns the name of the map domain.

Returns​

string

Inherited from​

IMapDomain.getName

Source​

model/types/domain/IMapDomain.ts:11


getScale()​

getScale(values, size): number[]

It returns a scale which can be used for choropleth color levels.

Parameters​

• values: number[]

• size: number

Returns​

number[]

Source​

tools/layers/choropleth/model/types/scale/IScale.ts:18