-
大小: 1.66MB文件类型: .rar金币: 1下载: 0 次发布日期: 2023-09-19
- 语言: 其他
- 标签: Googleearth googleAPI
资源简介
GOOGLEAPI开发详解:GOOGLE MAPS与GOOGLE EARTH双剑合璧-Googleearth实例代码
代码片段和文件信息
// Machine generated IDispatch wrapper class(es) created with ClassWizard
#include “stdafx.h“
#include “googleearth.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// IApplicationGE properties
/////////////////////////////////////////////////////////////////////////////
// IApplicationGE operations
LPDISPATCH IApplicationGE::GetCamera(long considerTerrain)
{
LPDISPATCH result;
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x1 DISPATCH_METHOD VT_DISPATCH (void*)&result parms
considerTerrain);
return result;
}
void IApplicationGE::SetCamera(LPDISPATCH camera double speed)
{
static BYTE parms[] =
VTS_DISPATCH VTS_R8;
InvokeHelper(0x2 DISPATCH_METHOD VT_EMPTY NULL parms
camera speed);
}
void IApplicationGE::SetCameraParams(double lat double lon double alt long altMode double Range double Tilt double Azimuth double speed)
{
static BYTE parms[] =
VTS_R8 VTS_R8 VTS_R8 VTS_I4 VTS_R8 VTS_R8 VTS_R8 VTS_R8;
InvokeHelper(0x3 DISPATCH_METHOD VT_EMPTY NULL parms
lat lon alt altMode Range Tilt Azimuth speed);
}
long IApplicationGE::GetStreamingProgressPercentage()
{
long result;
InvokeHelper(0x4 DISPATCH_PROPERTYGET VT_I4 (void*)&result NULL);
return result;
}
void IApplicationGE::SaveScreenShot(LPCTSTR fileName long quality)
{
static BYTE parms[] =
VTS_BSTR VTS_I4;
InvokeHelper(0x5 DISPATCH_METHOD VT_EMPTY NULL parms
fileName quality);
}
void IApplicationGE::OpenKmlFile(LPCTSTR fileName long suppressMessages)
{
static BYTE parms[] =
VTS_BSTR VTS_I4;
InvokeHelper(0x6 DISPATCH_METHOD VT_EMPTY NULL parms
fileName suppressMessages);
}
void IApplicationGE::LoadKmlData(BSTR* kmlData)
{
static BYTE parms[] =
VTS_PBSTR;
InvokeHelper(0x7 DISPATCH_METHOD VT_EMPTY NULL parms
kmlData);
}
double IApplicationGE::GetAutoPilotSpeed()
{
double result;
InvokeHelper(0x8 DISPATCH_PROPERTYGET VT_R8 (void*)&result NULL);
return result;
}
void IApplicationGE::SetAutoPilotSpeed(double newValue)
{
static BYTE parms[] =
VTS_R8;
InvokeHelper(0x8 DISPATCH_PROPERTYPUT VT_EMPTY NULL parms
newValue);
}
LPDISPATCH IApplicationGE::GetViewExtents()
{
LPDISPATCH result;
InvokeHelper(0x9 DISPATCH_PROPERTYGET VT_DISPATCH (void*)&result NULL);
return result;
}
LPDISPATCH IApplicationGE::GetFeatureByName(LPCTSTR Name)
{
LPDISPATCH result;
static BYTE parms[] =
VTS_BSTR;
InvokeHelper(0xa DISPATCH_METHOD VT_DISPATCH (void*)&result parms
Name);
return result;
}
LPDISPATCH IApplicationGE::GetFeatureByHref(LPCTSTR href)
{
LPDISPATCH result;
static BYTE parms[] =
VTS_BSTR;
InvokeHelper(0xb DISPATCH_METHOD VT_DISPATCH (void*)&result parms
href);
return result;
}
void IApplicationGE::SetFeatureView(
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 6697 2007-06-28 10:11 Google Earth\11\sample1\googleearth.cpp
文件 1939 2007-06-28 10:11 Google Earth\11\sample1\googleearth.h
文件 3597 2007-06-28 10:09 Google Earth\11\sample1\ReadMe.txt
文件 1078 2007-06-28 10:09 Google Earth\11\sample1\res\sample1.ico
文件 399 2007-06-28 10:09 Google Earth\11\sample1\res\sample1.rc2
文件 536 2007-06-28 10:09 Google Earth\11\sample1\Resource.h
文件 20696 2011-07-12 12:39 Google Earth\11\sample1\sample1.aps
文件 1047 2011-07-12 12:43 Google Earth\11\sample1\sample1.clw
文件 2077 2007-06-28 10:09 Google Earth\11\sample1\sample1.cpp
文件 4325 2007-06-28 10:28 Google Earth\11\sample1\sample1.dsp
文件 537 2007-06-28 10:28 Google Earth\11\sample1\sample1.dsw
文件 1335 2007-06-28 10:09 Google Earth\11\sample1\sample1.h
文件 99328 2011-07-12 12:49 Google Earth\11\sample1\sample1.ncb
文件 54784 2011-07-12 12:49 Google Earth\11\sample1\sample1.opt
文件 248 2011-07-12 12:48 Google Earth\11\sample1\sample1.plg
文件 5198 2007-06-28 10:28 Google Earth\11\sample1\sample1.rc
文件 5028 2007-06-28 13:29 Google Earth\11\sample1\sample1Dlg.cpp
文件 1435 2007-06-28 10:27 Google Earth\11\sample1\sample1Dlg.h
文件 209 2007-06-28 10:09 Google Earth\11\sample1\StdAfx.cpp
文件 1054 2007-06-28 10:09 Google Earth\11\sample1\StdAfx.h
文件 9257 2007-07-04 15:50 Google Earth\11\sample2\googleearth.cpp
文件 2897 2007-07-04 15:50 Google Earth\11\sample2\googleearth.h
文件 3597 2007-06-29 13:04 Google Earth\11\sample2\ReadMe.txt
文件 1078 2007-06-29 13:04 Google Earth\11\sample2\res\sample2.ico
文件 399 2007-06-29 13:04 Google Earth\11\sample2\res\sample2.rc2
文件 1053 2007-06-29 13:12 Google Earth\11\sample2\resource.h
文件 36568 2011-08-04 08:27 Google Earth\11\sample2\sample2.aps
文件 1668 2011-08-19 15:07 Google Earth\11\sample2\sample2.clw
文件 2077 2007-06-29 13:04 Google Earth\11\sample2\sample2.cpp
文件 4325 2007-06-29 13:21 Google Earth\11\sample2\sample2.dsp
............此处省略609个文件信息
- 上一篇:软件验收表格测试表格大全
- 下一篇:摄影测量与遥感概论.rar
相关资源
- Excel转GoogleEarth插件
- GoogleEarth(4.2)+GetScreen
- Google Earth(谷歌地球) 5.2.1.1547 多语
- 谷歌地图2012专业版
- GoogleEarth pro 专业破解版
- 91卫图助手-GoogleEarth影像高程器
- GoogleEarth7.1可用的hosts
- GoogleMapAPIV3
- googleearth与cad格式相互转换工具
- fonts.googleapis.com的本地包:css和字体
- Googleearthlandsat8
- Google Earth 中国各省界.kml
- fonts.googleapis.com/css 改为本地css及字体
评论
共有 条评论