Skip to main content

GeoDataFactory

geovisto-map • Readme | API


geovisto-map / GeoDataFactory

Class: GeoDataFactory

This interface declares a factory for geographical data objects.

Author​

Jiri Hynek

Implements​

Constructors​

new GeoDataFactory()​

new GeoDataFactory(): GeoDataFactory

Returns​

GeoDataFactory

Methods​

geojson()​

geojson(name, data): IGeoData

It creates the GeoJSON geographical data object.

Parameters​

• name: string

• data: unknown

Returns​

IGeoData

Implementation of​

IGeoDataFactory.geojson

Source​

model/internal/geodata/GeoDataFactory.ts:15