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

MapScript.Ja - layerObj.group Diff

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

!!layerObj.group プロパティ
!!!説明
レイヤーのグループの名前
public string group {get; set;}

Public Property group() As String

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

_layer.group = "GROUP1"
_layer2.group = "GROUP1"
!!!!マップファイル
  LAYER
    DATA "countries_simpl"
    GROUP "GROUP1"
      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

  LAYER
    GROUP "GROUP1"
      METADATA
      END
    NAME "(null)"
    SIZEUNITS PIXELS
    STATUS OFF
    TOLERANCEUNITS PIXELS
    UNITS METERS
  END
!!!参照
[[layerObj メンバ]] | [[(global) 名前空間|http://wiki.fdiary.net/MapScriptJa]]