-------------------------------------------------------------------------------------It is important to set the cap type as shown below,ttms1.setCapType(WebSimpleLineSymbol.SQUARE); (for SquareDOT line type)orttms1.setCapType(WebSimpleLineSymbol.ROUND); (for Round DOT line type)The default cap type is "Butt" - which is no cap at all. Cap type is applied to each segment of the line. Accordingly if the cap type is ROUND one will see round dots when line type is "dot", or square dots, if the cap is SQUARE.-------------------------------------------------------------------------------------