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

MapScript.Ja - mapObj.drawReferenceMap Diff

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

!!mapObj.drawReferenceMap メソッド
!!!説明
この地図の参照地図を描画する
public imageObj drawReferenceMap();

Public Function drawReferenceMap() As imageObj

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

_map.reference.status = mapscript.MS_ON
_map.reference.image = "c:\temp\bugna.jpg"
_map.reference.extent = _map.extent
_img2 = _map.drawReferenceMap
_img2.save("c:\temp\bugnar." & _img.format.extension, _map)

!!!!マップファイル
  REFERENCE
    COLOR 255 0 0
    EXTENT -141 24.3571 -52 100.643
    IMAGE "c:\temp\bugna.jpg"
    OUTLINECOLOR 0 0 0
    SIZE 0 0
    STATUS ON
      MARKER 0
      MARKERSIZE 0
      MINBOXSIZE 3
      MAXBOXSIZE 0
  END
!!!参照

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