zoukankan      html  css  js  c++  java
  • arcgis javascript 细节集锦

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

    Properties

    PropertyTypeDescription
    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

    ConstantDescription
    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的图片有时候显示不完全,虽然采用了横向对比的方法,依然未找到原因

  • 相关阅读:
    settTimeout vs setInterval
    JS继承
    JS创建对象
    原型链
    开始学习python的感受
    Problem 29
    Python 查看关键字
    Problem 21
    Problem 34
    Problem 42
  • 原文地址:https://www.cnblogs.com/zhangjun1130/p/1990327.html
Copyright © 2011-2022 走看看