Class: Teg

Mapspace.source. Teg

A source based on tiled fiels with more options.


new Teg(options)

Parameters:
Name Type Description
options Mapspace.source.TegOptions

Teg options.

Source:
mapspace/source/teg.js
Fires:
  • ol.source.Tile.event:Event

Extends

  • ol.source.Tile

Methods


getTegID()

Get the ID of the TEG source.

Source:
mapspace/source/teg.js
Returns:
Type
string

getValue(location)

Returns the teg value or null on a specified location (WGS84 LAT/LON).

Parameters:
Name Type Description
location Mapspace.Coordinate

Location coordinate (epsg:4326).

Source:
mapspace/source/teg.js
Returns:

Value or null.

Type
number