Skip to content

arlas-web-components / Exports / ArlasBasemaps

Class: ArlasBasemaps

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new ArlasBasemaps(defaultBasemapStyle?, basemapStyles?)

Parameters

Name Type
defaultBasemapStyle? BasemapStyle
basemapStyles? BasemapStyle[]

Defined in

projects/arlas-components/src/lib/components/mapgl/basemaps/basemaps.ts:29

Properties

_selectedStyle

_selectedStyle: BasemapStyle

Defined in

projects/arlas-components/src/lib/components/mapgl/basemaps/basemaps.ts:24


_styles

_styles: BasemapStyle[]

Defined in

projects/arlas-components/src/lib/components/mapgl/basemaps/basemaps.ts:25

Methods

getSelected

getSelected(): BasemapStyle

Returns

BasemapStyle

Defined in

projects/arlas-components/src/lib/components/mapgl/basemaps/basemaps.ts:54


getStyle

getStyle(b): BasemapStyle

Parameters

Name Type
b BasemapStyle

Returns

BasemapStyle

Defined in

projects/arlas-components/src/lib/components/mapgl/basemaps/basemaps.ts:50


setSelected

setSelected(style): ArlasBasemaps

Parameters

Name Type
style BasemapStyle

Returns

ArlasBasemaps

Defined in

projects/arlas-components/src/lib/components/mapgl/basemaps/basemaps.ts:45


styles

styles(): BasemapStyle[]

Returns

BasemapStyle[]

Defined in

projects/arlas-components/src/lib/components/mapgl/basemaps/basemaps.ts:38