|
TalMap SDK Libary Reference |
XUtility::GetLLOnMapRect |
MapRect³»ÀÇ DPÁÂÇ¥·Î LonLatÀ» È®ÀÎÇÕ´Ï´Ù. |
|
XUtility::GetLLOnMapRect
XPoint GetLLOnMapRect(int LLon, int RLon, int LLat, int ULat, int DPWidth, int DPHeight, int X, int Y);
|
|
|
Parameters
|
LLon |
Left °æµµ |
RLon |
Right °æµµ |
LLat |
Lower À§µµ |
ULat |
Upper À§µµ |
DPWidth |
È¸é ³ÐÀÌ |
DPHeight |
È¸é ³ôÀÌ |
X |
ȸé X ÁÂÇ¥ |
Y |
ȸé Y ÁÂÇ¥ |
|
|
|
|
Return Value
|
XPoint ŸÀÔ.
°æÀ§µµ ÁÂÇ¥.
|
|
|
|
Remarks
|
GetLLOnMapRect ´Â XUtility ÀÇ Method·Î Á¦°øµË´Ï´Ù.
»ç¿ëÀÚ´Â ÀÌ ¸Þ¼Òµå¸¦ ÀÌ¿ëÇÏ¿©, MapRect³»ÀÇ DPÁÂÇ¥¿¡ ÇØ´çÇÏ´Â LonLatÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.
|
|
|
|
Example
|
|
var util = m_Map.GetUtility();
var point = util.GetLLOnMapRect(45771977, 45774177, 13513818, 13514911, 800, 600, 423, 123);
alert("Lon : " + point.GetX() + ", Lat : " + point.GetY());
|
|
|
#include "CXUtility.h"
CXUtility util = m_Map.GetUtility();
CXPoint point = util.GetLLOnMapRect(45771977, 45774177, 13513818, 13514911, 800, 600, 423, 123);
CString msg;
msg.Format(_T("Lon : %d, Lat : %d"), point.GetX(), point.GetY());
AfxMessageBox(msg);
|
|
|
TalMapXLib.IXUtility util = m_Map.GetUtility();
TalMapXLib.IXPoint point = util.GetLLOnMapRect(45771977, 45774177, 13513818, 13514911, 800, 600, 423, 123);
MessageBox.Show("Lon : " + point.GetX().ToString() + "Lat :" + point.GetY().ToString());
|
|
|
Dim util As TalMapXLib.IXUtility
Dim point As TalMapXLib.IXPoint
Set util = m_Map.GetUtility
Set point = util.GetLLOnMapRect(45771977, 45774177, 13513818, 13514911, 800, 600, 423, 123)
MsgBox ("Lon : " & point.GetX & " Lat :" & point.GetY)
|
|
|
|
See Also
|
|