I have some problems about using API Symbols.
(1)First I make a custom BMP file (*.bmp).
(2) Import the bmp file for new symbol files (*.smb) by Symbol manager.
(3)The function is ok when using the symbol file for Viewer API symbol. But there are something fault as follow where I use the symbol in the RedlineLayer.
var ret=symAttr.setSymbol('custom symbol name');
alert(done);
......
var done = myRedLineObj.addSymbolPrimitive(objPoint,false);
alert(done);
The return value is always false by setSymbol() function. But it is ok using the default symbol instead of it.
What am I missing?
Any help is greatly appreciated.