Module: dev-test-environment/components/MapDrawer/utils/generateId

Functions

generateId

generateId(type, id, index?): string

Parameters

Name

Type

type

"source" | "layer" | "label" | "image"

id

string

index?

number

Returns

string


generateIds

generateIds(id, index?): Object

Parameters

Name

Type

id

string

index?

number

Returns

Object

Name

Type

imageId

string

labelId

string

layerId

string

sourceId

string