Class: InfoMap

cercaliagl.InfoMap


Class to create an objecto to display using showInfoMap method. Only title and content must be provided.

new InfoMap(options)

Name Type Description
options

Options.

Name Type Description
title string | undefined

Title

content string | undefined

Content

Methods

getContent(){string}

Returns:
Get content

getTitle(){string}

Returns:
Get title.

setContent(content)

Name Type Description
content string

Content.

setTitle(title)

Name Type Description
title string

Title.