Skip to content

arlas-web-components / Exports / MapboxBasemapService

Class: MapboxBasemapService

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MapboxBasemapService(http)

Parameters

Name Type
http HttpClient

Defined in

projects/arlas-components/src/lib/components/mapgl/basemaps/basemap.service.ts:39

Properties

basemaps

basemaps: ArlasBasemaps

Defined in

projects/arlas-components/src/lib/components/mapgl/basemaps/basemap.service.ts:34


protomapBasemapAdded$

protomapBasemapAdded$: Observable<boolean>

Defined in

projects/arlas-components/src/lib/components/mapgl/basemaps/basemap.service.ts:37

Methods

addProtomapBasemap

addProtomapBasemap(map): void

Parameters

Name Type
map Map

Returns

void

Defined in

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


declareProtomapProtocol

declareProtomapProtocol(map): void

Parameters

Name Type
map Map

Returns

void

Defined in

projects/arlas-components/src/lib/components/mapgl/basemaps/basemap.service.ts:83


fetchSources$

fetchSources$(): Observable<Style[]>

Returns

Observable<Style[]>

Defined in

projects/arlas-components/src/lib/components/mapgl/basemaps/basemap.service.ts:117


getInitStyle

getInitStyle(selected): string | Style

Parameters

Name Type
selected BasemapStyle

Returns

string | Style

Defined in

projects/arlas-components/src/lib/components/mapgl/basemaps/basemap.service.ts:92


notifyProtomapAddition

notifyProtomapAddition(): void

Returns

void

Defined in

projects/arlas-components/src/lib/components/mapgl/basemaps/basemap.service.ts:67


removeProtomapBasemap

removeProtomapBasemap(map): void

Parameters

Name Type
map Map

Returns

void

Defined in

projects/arlas-components/src/lib/components/mapgl/basemaps/basemap.service.ts:71


setBasemaps

setBasemaps(basemaps): void

Parameters

Name Type
basemaps ArlasBasemaps

Returns

void

Defined in

projects/arlas-components/src/lib/components/mapgl/basemaps/basemap.service.ts:41