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

MapScript.Ja - layerObj.maxfeatures Diff

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

!!layerObj.maxfeatures プロパティ
!!!説明
このレイヤーで表示できる地物の数の最大値。
public int maxfeatures {get; set;}

Public Property maxfeatures() As Integer

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

_layer.maxfeatures = 100
!!!!マップファイル
  LAYER
    DATA "countries_simpl"
    MAXFEATURES 100
      METADATA
      END
    NAME "World"
    SIZEUNITS PIXELS
    STATUS ON
    TOLERANCEUNITS PIXELS
    TYPE POLYGON
    UNITS METERS
    CLASS
      NAME "arcid"
      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]]