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

layerObj.queryByShape

layerObj.queryByShape メソッド

説明

ポリゴンであるシェイプに対する問い合わせを実行します

public int queryByShape(
   mapObj map,
   shapeObj shape
);
Public Function queryByShape(ByVal map As mapObj, ByVal shape As shapeObj) As Integer

サンプル

コード
Dim _map As New mapObj("")
Dim _layer As New layerObj(_map)
Dim _pt1 As New pointObj(-125.948008, 46.735923, 0, 0)
Dim _pt2 As New pointObj(-125.948008, 49.859265, 0, 0)
Dim _pt3 As New pointObj(-121.150436, 49.859265, 0, 0)
Dim _pt4 As New pointObj(-121.150436, 46.735923, 0, 0)

 _layer.template = "template.html"
intRet = _line.add(_pt1)
intRet = _line.add(_pt2)
intRet = _line.add(_pt3)
intRet = _line.add(_pt4)
intRet = _line.add(_pt1)
intRet = _shape.add(_line)
intRet = _layer.queryByShape(_map, _shape)
マップファイル

影響なし

参照

layerObj メンバ | (global) 名前空間

Last modified:2007/02/15 14:20:59
Keyword(s):
References:[layerObj メンバ]