Create  Edit  Diff  FrontPage  Index  Search  Changes  History  Source  RSS  wikifarm  Login

MapScript.Ja - layerObj.filteritem Diff

  • Added parts are displayed like this.
  • Deleted parts are displayed like this.

!!layerObj.filteritem プロパティ
!!!説明
属性値のフィルターを適用したいときの項目名
public string filteritem {get; set;}

Public Property filteritem() As String

!!!サンプル
!!!!コード
Dim _map As New mapObj("")
Dim _layer As New layerObj(_map)

_layer.filteritem = "NAME"
!!!!マップファイル
  LAYER
    DATA "countries_simpl"
    DUMP TRUE
    FILTERITEM "NAME"
      METADATA
      END
    NAME "Wako"
    SIZEUNITS PIXELS
    STATUS ON
    TOLERANCEUNITS PIXELS
    TYPE POLYGON
    UNITS METERS
    CLASS
      NAME "arcid"
      METADATA
      END
      STYLE
        ANGLE 360
        COLOR 20 20 20
        OUTLINECOLOR 100 100 100
        SYMBOL 0
      END
    END
  END
!!!参照
[[layerObj メンバ]] | [[(global) 名前空間|http://wiki.fdiary.net/MapScriptJa]]