|
-
Nov 22nd, 2005, 03:31 AM
#1
Thread Starter
Fanatic Member
Reading Google Earths Memory
Basically all I want to do is be able to point the cursor somehwere in google earth's window and have it tell me the Longitude and Latitude of where I clicked... nothing bad. However, I have no idea where to start! If anyone could be of assistance that would be great.
"X-mas is 24.Desember you English morons.." - NoteMe
-
Nov 22nd, 2005, 04:19 AM
#2
Fanatic Member
Re: Reading Google Earths Memory
I think you would have to subclass the part of Google Earth that gives you the longitude & latitude and then get the caption of that.
You'd need extensive use of API so you should maybe post it there.
Good luck!
-
Nov 22nd, 2005, 04:29 AM
#3
Thread Starter
Fanatic Member
Re: Reading Google Earths Memory
The window that google earth uses to render in is one piece, the bar isn't seperate from the rest of the window. Atleast that is what I can gather from Spy++. So the only thing I could think of was to try and find the memory offset where the longitude and latitude are stored... but so far no luck.
"X-mas is 24.Desember you English morons.." - NoteMe
-
Nov 22nd, 2005, 04:53 AM
#4
Fanatic Member
Re: Reading Google Earths Memory
ooh, seems like its gonna be quite a challenge!
-
May 15th, 2008, 06:28 AM
#5
Member
Re: Reading Google Earths Memory
I'm working on a Google Earth app myself at the moment.
I want to do exactly as the OP said, click on the screen and return the lat/long. This is proving to be an impossible task. 3 years on from this original post I'm just wondering if there is someone out there that could shed some light on this!
vb Code:
Dim GEI As ApplicationGE Dim Camera As CameraInfoGE Set GEI = CreateObject("GoogleEarth.ApplicationGE") While (GEI.IsInitialized = 0) Wend Set Camera = GEI.GetCamera(0) MsgBox "Latitude: " & Camera.FocusPointLatitude & " Longitude: " & Camera.FocusPointLongitude
The above function returns the lat/log of the center of the camera location on Google Earth. Any way to call this at a certain point on the Google Earth maps?
I'm using vb6 and Google Earth v4.2.0205.5730.
Thanks guys.
Last edited by soconnor; May 15th, 2008 at 08:20 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|