Skip to content

geospatial-sdk / core/lib / LayerGeojsonWithData

LayerGeojsonWithData

Extends

  • LayerGeojson

Properties

attributions?

ts
optional attributions: string;

Inherited from

LayerGeojson.attributions

Defined in

packages/core/lib/model/map-context.ts:21


data

ts
data: string | FeatureCollection<null | Geometry, GeoJsonProperties>;

Defined in

packages/core/lib/model/map-context.ts:79


extras?

ts
optional extras: LayerExtras;

This property can be used to store anything application-specific on layers; as its content may occasionally be serialized to JSON for change detection purposes, it is not recommended to store Functions or other non-serializable entities

Inherited from

LayerGeojson.extras

Defined in

packages/core/lib/model/map-context.ts:17


id?

ts
optional id: string | number;

Inherited from

LayerGeojson.id

Defined in

packages/core/lib/model/map-context.ts:9


label?

ts
optional label: string;

Inherited from

LayerGeojson.label

Defined in

packages/core/lib/model/map-context.ts:20


opacity?

ts
optional opacity: number;

Inherited from

LayerGeojson.opacity

Defined in

packages/core/lib/model/map-context.ts:19


style?

ts
optional style: FlatStyleLike;

Inherited from

LayerGeojson.style

Defined in

packages/core/lib/model/map-context.ts:72


type

ts
type: "geojson";

Inherited from

LayerGeojson.type

Defined in

packages/core/lib/model/map-context.ts:71


url?

ts
optional url: undefined;

Defined in

packages/core/lib/model/map-context.ts:80


version?

ts
optional version: number;

Inherited from

LayerGeojson.version

Defined in

packages/core/lib/model/map-context.ts:10


visibility?

ts
optional visibility: boolean;

Inherited from

LayerGeojson.visibility

Defined in

packages/core/lib/model/map-context.ts:18