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

MapScript.Ja - mapObj.scalebar Diff

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

!!mapObj.scalebar プロパティ
!!!説明
この地図のスケールバー
public scalebarObj scalebar {get;}

Public ReadOnly Property scalebar() As scalebarObj

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

With _map.scalebar
    .status = mapscript.MS_EMBED
    .units = MS_UNITS.MS_KILOMETERS
End With
_img = _map.draw
_map.embedLegend(_img)

!!!!マップファイル
  SCALEBAR
    COLOR 0 0 0
    IMAGECOLOR 255 255 255
    INTERVALS 4
    LABEL
      SIZE MEDIUM
      TYPE BITMAP
      BUFFER 0
      COLOR 0 0 0
      FORCE FALSE
      MINDISTANCE -1
      MINFEATURESIZE -1
      OFFSET 0 0
      PARTIALS TRUE
      POSITION CR
    END
    POSITION LL
    SIZE 200 3
    STATUS EMBED
    STYLE 0
    UNITS KILOMETERS
  END
!!!参照

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