CustomMinMaxScale
geovisto-map / CustomMinMaxScale
Class: CustomMinMaxScale
This class provides the relative [min,max] scale.
Author
Jiri Hynek
Extends
Implements
Constructors
new CustomMinMaxScale()
new CustomMinMaxScale(
min
,max
):CustomMinMaxScale
It initializes the scale.
Parameters
• min: number
• max: number
Returns
Overrides
Source
tools/layers/choropleth/model/internal/scale/CustomMinMaxScale.ts:21
Properties
max
private
max:number
Source
tools/layers/choropleth/model/internal/scale/CustomMinMaxScale.ts:16
min
private
min:number
Source
tools/layers/choropleth/model/internal/scale/CustomMinMaxScale.ts:15
Methods
getName()
getName():
string
It returns the name of the map domain.
Returns
string
Implementation of
Inherited from
Source
model/internal/domain/generic/MapDomain.ts:21
getScale()
getScale(
values
,size
):number
[]
It returns a scale which can be used for choropleth color levels.
Parameters
• values: number
[]
• size: number
Returns
number
[]
Implementation of
Source
tools/layers/choropleth/model/internal/scale/CustomMinMaxScale.ts:40
toString()
toString():
string
The string representation is equal to the name of the map domain.
Returns
string
Inherited from
Source
model/internal/domain/abstract/AbstractMapDomain.ts:18
TYPE()
static
TYPE():string
Type of the scale.
Returns
string
Source
tools/layers/choropleth/model/internal/scale/CustomMinMaxScale.ts:30