1、esri.symbol.SimpleFillSymbol(style, outline, color)

Properties

Property Type Description
style String The fill style. See the Constants table for valid values. The default value is STYLE_SOLID. Color is valid only with STYLE_SOLID.

Constants

Constant Description
STYLE_BACKWARD_DIAGONAL The fill is backward diagonal lines.
STYLE_CROSS The fill is a cross.
STYLE_DIAGONAL_CROSS The fill is a diagonal cross.
STYLE_FORWARD_DIAGONAL The fill is forward diagonal lines.
STYLE_HORIZONTAL The fill is horizontal lines.
STYLE_NULL The polygon has no fill.
STYLE_SOLID

The fill is solid.(注意:如果style设置为Style_null那么多边形就会变成多边线,此时graphics的moveover方法只在多边线上起作用

,而在多边形内部不起作用)

STYLE_VERTICAL The fill is vertical lines.

2、设置鼠标样式,在相应的标签里添加style="cusor:pointer" \style="cusor:wait"\style="cusor:default"等

3、infowindow的title始终不能出现,只有conten出现,而且infowindow的图片有时候显示不完全,虽然采用了横向对比的方法,依然未找到原因

相关文章: