themeApi

ixmaps. themeApi

It realizes an object to hold a theme handle

Constructor

new themeApi(szMapopt, szThemeopt)

Source:
Create a new ixmaps.themeApi instance.
Parameters:
Name Type Attributes Description
szMap String <optional>
the name of the map, to define if more than one map present
szTheme String <optional>
the theme id, to define if more than one theme present
Returns:
A new ixmaps.themeApi object

Methods

changeStyle(szStyle, szFlag)

Source:
change Style
Examples
ixmaps.map().theme().changeStyle("opacity:0.5","factor");
ixmaps.map("map1").theme().changeStyle("type:AGGREGATE","add");
Parameters:
Name Type Description
szStyle String a style definition string (see documentation)
szFlag String the style change method ('set' or 'factor' or 'remove' - see api doc)
Returns:
void