ERROR
When loading a customized HTML Viewer you may get an error message:"AXLParser: acetate layer - 'coords' not found in POINT."
This is due to having uncommented sample code with incorrect syntax in the standard HTML Viewer to customize the site.
The javascript files aimsXML.js and aimsCustom.js files that come with the standard HTML Viewer and are located in your Web site location, such as C:\ArcIMS\website\<mysite>\javascript\, include lines of code with the syntax such as
Code:
<POINT coord="27 11"
Code:
<POINT coords="27 11"
Code:
theString += '<OBJECT units="database">\n<POINT coord="'
+ forceOVComma(midX) + coordsDelimiter
+ forceOVComma(midY) + '">\n';
Code:
// add custom stuff to Map XML request. . . between selection and geocode
function addCustomToMap1(){
var customString = "";
/*
customString += '<LAYER type="ACETATE" name="theMode">\n';
customString += '<OBJECT units="PIXEL">\n<TEXT coord="5 '
+ (iHeight-10)
+ '" label="This is a test">\n';
customString += '<TEXTMARKERSYMBOL fontstyle="BOLD" fontsize="12"
font="ARIAL" fontcolor="'
+ modeMapColor + '" ';
customString += 'threed="TRUE" glowing="'
+ modeMapGlow
+ '" />\n</TEXT>\n</OBJECT>';
customString += '\n</LAYER>\n';
*/
return customString;
}
and
// add custom stuff to Map XML request. . . under modeOnMap
function addCustomToMap3(){
var customString = "";
/*
customString += '<LAYER type="ACETATE" name="theMode">\n';
customString += '<OBJECT units="PIXEL">\n<TEXT coord="5 '
+ (iHeight-10)
+ '" label="This is a test">\n';
customString += '<TEXTMARKERSYMBOL fontstyle="BOLD" fontsize="12"
font="ARIAL" fontcolor="'
+ modeMapColor + '" ';
customString += 'threed="TRUE" glowing="'
+ modeMapGlow
+ '" />\n</TEXT>\n</OBJECT>';
customString += '\n</LAYER>\n';
alert(customString);
*/
return customString;
}
Article ID:000006899
Get help from ArcGIS experts
Download the Esri Support App