基本信息
源码名称:定位
源码大小:2.84KB
文件格式:.rar
开发语言:C#
更新时间:2018-04-24
友情提示:(无需注册或充值,赞助后即可获取资源下载链接)
嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):78630559
本次赞助数额为: 2 元×
微信扫码支付:2 元
×
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
源码介绍
VERSION 5.00
Object = "{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}#1.1#0"; "ieframe.dll"
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 6420
ClientLeft = 108
ClientTop = 432
ClientWidth = 10752
LinkTopic = "Form1"
ScaleHeight = 6420
ScaleWidth = 10752
StartUpPosition = 1 '所有者中心
Begin VB.CommandButton Command2
Caption = "清除所有显示"
Height = 372
Left = 9240
TabIndex = 8
Top = 5880
Width = 1332
End
Begin VB.TextBox Text3
Height = 300
Left = 5900
TabIndex = 7
Text = "101"
Top = 5950
Width = 1500
End
Begin VB.CommandButton Command1
Caption = "在地图上显示"
Height = 372
Left = 7560
TabIndex = 3
Top = 5890
Width = 1332
End
Begin VB.TextBox Text2
Height = 300
Left = 3400
TabIndex = 2
Text = "39.889176"
Top = 5950
Width = 1500
End
Begin VB.TextBox Text1
Height = 300
Left = 830
TabIndex = 1
Text = "116.657939"
Top = 5950
Width = 1500
End
Begin SHDocVwCtl.WebBrowser WebBrowser1
Height = 5652
Left = 120
TabIndex = 0
Top = 120
Width = 10572
ExtentX = 18648
ExtentY = 9970
ViewMode = 0
Offline = 0
Silent = 0
RegisterAsBrowser= 0
RegisterAsDropTarget= 1
AutoArrange = 0 'False
NoClientEdge = 0 'False
AlignLeft = 0 'False
NoWebView = 0 'False
HideFileNames = 0 'False
SingleClick = 0 'False
SingleSelection = 0 'False
NoFolders = 0 'False
Transparent = 0 'False
ViewID = "{0057D0E0-3573-11CF-AE69-08002B2E1262}"
Location = "http:///"
End
Begin VB.Label Label3
Caption = "名称:"
Height = 220
Left = 5280
TabIndex = 6
Top = 6000
Width = 620
End
Begin VB.Label Label2
Caption = "纬度:"
Height = 220
Left = 2640
TabIndex = 5
Top = 6000
Width = 620
End
Begin VB.Label Label1
Caption = "经度:"
Height = 220
Left = 240
TabIndex = 4
Top = 6000
Width = 620
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
WebBrowser1.Document.parentWindow.execScript "labellong = """ & Text1 & """", "javascript"
WebBrowser1.Document.parentWindow.execScript "labellat = """ & Text2 & """", "javascript"
WebBrowser1.Document.parentWindow.execScript "radioname = """ & Text3 & """", "javascript"
WebBrowser1.Document.parentWindow.execScript "theLocation()", "javascript"
End Sub
Private Sub Command2_Click()
WebBrowser1.Document.parentWindow.execScript " map.clearOverlays() ", "javascript"
End Sub
Private Sub Form_Load()
WebBrowser1.Navigate App.Path & "\BaiduMap.html"
End Sub