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

MapScript.Ja - layerObj.queryByRect Diff

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

!!layerObj.queryByRect メソッド
!!!説明
指定した範囲に対する問い合わせを実行します
public int queryByRect(
    mapObj map,
    rectObj rect
);

Public Function queryByRect(ByVal map As mapObj, ByVal rect As rectObj) As Integer

!!!サンプル
!!!!コード
Dim _map As New mapObj("")
Dim _layer As New layerObj(_map)
Dim _rect As New rectObj(-125.948008, 46.735923, -121.150436, 49.859265, Nothing)

_layer.template = "template.html"
intRet = _layer.queryByRect(_map, _rect)

!!!!マップファイル
影響なし
!!!参照
[[layerObj メンバ]] | [[(global) 名前空間|http://wiki.fdiary.net/MapScriptJa]]