EMAPI.CategoryObjects

Class responsible for the management of static objects.

Summary
EMAPI.CategoryObjectsClass responsible for the management of static objects.
Functions
EMAPI.CategoryObjectsThe constructor of a new instance of the EMAPI.CategoryObjects class.
getPOICategoryReturns all parameters of POI category.
getUserCategoryReturns all parameters of customer’s category static objects.
showCategoryTurning on the visibility of indicated objects on the map.
hideCategoryTurning off the specified visibility category objects on the map.

Functions

EMAPI.CategoryObjects

The constructor of a new instance of the EMAPI.CategoryObjects class.

Parameters

map{EMAPI.Map} An object with additional parameters of class instance.

getPOICategory

getPOICategory: function()

Returns all parameters of POI category.

Result

{Array(Object)} An array containing the parameters.

getUserCategory

getUserCategory: function()

Returns all parameters of customer’s category static objects.

Result

{Array(Object)} An array containing the parameters.

showCategory

showCategory: function(id)

Turning on the visibility of indicated objects on the map.

Parameters

id{Integer} ID of category of objects.

hideCategory

hideCategory: function(id)

Turning off the specified visibility category objects on the map.

Parameters

id{Integer} ID of category of objects.
getPOICategory: function()
Returns all parameters of POI category.
getUserCategory: function()
Returns all parameters of customer’s category static objects.
showCategory: function(id)
Turning on the visibility of indicated objects on the map.
hideCategory: function(id)
Turning off the specified visibility category objects on the map.
EMAPI.Map instances are interactive maps embedded in web applications.
Close