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

MapScript.Ja - mapObj.moveLayerUp Diff

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

!!mapObj.moveLayerUp メソッド
!!!説明
public int moveLayerUp(
    int layerindex
);

Public Function moveLayerUp(ByVal layerindex As Integer) As Integer
!!!サンプル
!!!!コード
Dim _map As New mapObj("")
Dim _layer As New layerObj(_map)
Dim _layer2 As New layerObj(_map)

_map.moveLayerUp(1)
!!!!マップファイル
  LAYER
      METADATA
      END
    NAME "(null)"
    SIZEUNITS PIXELS
    STATUS OFF
    TOLERANCEUNITS PIXELS
    UNITS METERS
  END


  LAYER
    DATA "countries_simpl"
    LABELITEM "NAME"
      METADATA
      END
    NAME "World"
    PROJECTION
      "init=epsg:4326"
    END
    SIZEUNITS PIXELS
    STATUS DEFAULT
    TOLERANCEUNITS PIXELS
    TYPE POLYGON
    UNITS METERS
    CLASS
      LABEL
        ANGLE 0.000000
        ANTIALIAS TRUE
        FONT "msgothic"
        MAXSIZE 256
        MINSIZE 4
        SIZE 12
        TYPE TRUETYPE
        BUFFER 0
        COLOR 0 0 0
        ENCODING "SJIS"
        FORCE FALSE
        MINDISTANCE -1
        MINFEATURESIZE -1
        OFFSET 0 0
        PARTIALS TRUE
        POSITION CL
      END
      METADATA
      END
      STYLE
        ANGLE 360
        COLOR 200 200 200
        OUTLINECOLOR 100 100 100
        SYMBOL 0
      END
    END
  END

!!!参照

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