Class: PoiList

cercalia.widget.PoiList

new cercalia.widget.PoiList(options)

POIs overlay widget constructor

Name Type Description
options

PoiList options

Name Type Description
div string

Widget DIV container ID.

heightMenu string

Height menu, number and units. For example: 300px. Default value: 'auto'

clickElementList function

Call function when click on a submenu element.

categoryList Array.<string>

List of categories and subcategories to include in the menu.

Methods

Returns the type of the object.

getSelected(cat){Array.<Object>}

Returns the selected subcategories of all categories or indicated by parameter

Name Type Description
cat number | undefined optional

Active subcategories from a category. If it not indicated returns all.

getSelectedId(cat){Array.<string>}

Returns the selected subcategories of all categories or indicated by parameter

Name Type Description
cat number | undefined optional

Active subcategories from a category. If it not indicated returns all.