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

MapScript.Ja - referenceMapObj.status Diff

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

!!referenceMapObj.status プロパティ
!!!説明
表示非表示の設定
public int status {get; set;}

Public Property status() As Integer
!!!サンプル
!!!!コード
Dim _map As New mapObj("")
Dim _layer As New layerObj(_map)
Dim _refmap As referenceMapObj

_refmap = _map.reference

With _refmap
     .color = New colorObj(0, 255, 0, 0)
     .status = mapscript.MS_ON
     .height = 200
     .width = 300
     .image = "c:\temp\bugnar.png"
     .extent = _map.saved_extent
End With
!!!!マップファイル
  REFERENCE
    COLOR 0 255 0
    EXTENT -125.948 45.8988 -121.15 50.6964
    IMAGE "c:\temp\bugnar.png"
    OUTLINECOLOR 0 0 0
    SIZE 300 200
    STATUS ON
      MARKER 0
      MARKERSIZE 0
      MINBOXSIZE 3
      MAXBOXSIZE 0
  END
!!!参照

[[referenceMapObj メンバ]] | [[(global) 名前空間|http://wiki.fdiary.net/MapScriptJa]]