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

layerObj.group

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) 名前空間

Last modified:2007/02/15 13:41:43
Keyword(s):
References:[layerObj メンバ]