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

MapScript.Ja - layerObj.toleranceunits Diff

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

!!layerObj.toleranceunits プロパティ
!!!説明
tolerrance の単位。MS_UNITS。
MS_INCHES, MS_FEET, MS_MILES, MS_METERS, MS_KILOMETERS, MS_DD,MS_PIXELS
public int toleranceunits {get; set;}

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

_layer.tolerance = 5
_layer.toleranceunits = MS_UNITS.MS_METERS
!!!!マップファイル
  LAYER
    DATA "countries_simpl"
      METADATA
      END
    NAME "World"
    SIZEUNITS PIXELS
    STATUS ON
    TOLERANCE 5
    TOLERANCEUNITS METERS
    TYPE POLYGON
    UNITS METERS
    CLASS
      METADATA
      END
      STYLE
        ANGLE 360
        COLOR 200 200 200
        OUTLINECOLOR 100 100 100
        SYMBOL 0
      END
    END
  END

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