Class Marker : displayIconName Property

String displayIconName;


Icon filename if used.


Code below taken from the Category Marker.

First it makes an image name. It then checks to see if the image exists, and if it does it then sets the new Marker to use the image.

if( this.getOptionValue( "Use icons" ) )
var strImage = "%DGIMAGEDIR%Categories.dgimglib:cat-" + + ".png";
if( system.doesImageExist( strImage ) )
marker.displayIconName = strImage;

See Also

Marker : displayBackground
Marker : useIcon


Build 1059