arcgis javascript 細節集錦

來源:互聯網
上載者:User

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的圖片有時候顯示不完全,雖然採用了橫向對比的方法,依然未找到原因

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.