資源簡介
利用Google Map API,通過手機(jī)基站信息查詢基站地址,能夠獲取基站的經(jīng)緯度,并用GoogleMap顯示出來。
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Net;
using?System.IO;
using?GoogleLoc.Location;
using?System.Windows.Forms;
namespace?GoogleLoc
{
????public?partial?class?Form1?:?Form
????{
????????private?const?string?Google_Mobile_Service_Uri?=?“http://www.google.com/glm/mmap“;
????????
????????//從文件加載CellId信息的數(shù)組Cells和條目標(biāo)志位cellNo
????????List?Cells?=?new?List();?
????????int?cellNo?=?-1;
????????public?Form1()
????????{????????????
????????????InitializeComponent();
????????}
????????///?
????????///?規(guī)范數(shù)據(jù)
????????///?
????????///?
????????///?
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件????????960??2010-03-16?16:08??Location\CellTower.cs
?????文件???????7234??2010-03-08?12:31??Location\CellTowerLocationProvider.cs
?????文件???????4119??2010-03-16?16:08??Location\GeoLocation.cs
?????文件???????2586??2010-03-08?12:11??Location\GpsLocationProvider.cs
?????文件????????262??2010-03-08?12:28??Location\ILocationProvider.cs
?????文件????????810??2010-03-17?14:33??obj\Debug\GoogleLoc.csproj.FileListAbsolute.txt
?????文件????????847??2010-03-17?13:16??obj\Debug\GoogleLoc.csproj.GenerateResource.Cache
?????文件??????19968??2010-03-17?13:45??obj\Debug\GoogleLoc.exe
?????文件????????180??2010-03-17?13:16??obj\Debug\GoogleLoc.Form1.resources
?????文件??????36352??2010-03-17?13:45??obj\Debug\GoogleLoc.pdb
?????文件????????180??2010-03-16?16:10??obj\Debug\GoogleLoc.Properties.Resources.resources
?????文件???????4608??2010-03-17?10:14??obj\Debug\TempPE\Properties.Resources.Designer.cs.dll
?????文件???????1063??2010-03-16?16:01??obj\Debug\WindowsFormsApplication2.csproj.FileListAbsolute.txt
?????文件????????847??2010-03-09?11:08??obj\Debug\WindowsFormsApplication2.csproj.GenerateResource.Cache
?????文件????????180??2010-03-09?11:08??obj\Debug\WindowsFormsApplication2.Form1.resources
?????文件???????1430??2010-03-16?16:08??Properties\AssemblyInfo.cs
?????文件???????2842??2010-03-16?16:09??Properties\Resources.Designer.cs
?????文件???????5612??2010-03-08?10:32??Properties\Resources.resx
?????文件???????1107??2010-03-16?16:09??Properties\Settings.Designer.cs
?????文件????????249??2010-03-08?10:32??Properties\Settings.settings
?????文件??????12701??2010-03-17?13:45??Form1.cs
?????文件??????13934??2010-03-17?13:16??Form1.Designer.cs
?????文件???????6017??2010-03-17?13:16??Form1.resx
?????文件???????5292??2010-03-16?16:10??GoogleLoc.csproj
?????文件????????547??2010-03-16?16:10??GoogleLoc.csproj.user
?????文件????????481??2010-03-16?16:08??Program.cs
?????目錄??????????0??2010-03-17?10:14??obj\Debug\TempPE
?????目錄??????????0??2010-03-17?13:45??obj\Debug
?????目錄??????????0??2010-03-16?16:08??Location
?????目錄??????????0??2010-03-08?10:32??obj
............此處省略4個(gè)文件信息
評(píng)論
共有 條評(píng)論