bijansaba


Hi
i 
Hi
i want tape name of one city as TEhran in a textbox and click on one boutton 
and automatic go to show this city in googleearth what must i do
thank you




Re: go to googleearth

Naomi Nosonovsky


I'm not sure that typing just city name would be enough. If you have the full address, that's better. See my reply bellow.






Re: go to googleearth

Naomi Nosonovsky

From the solution by Sergey Berezniker on UT:

TEXT TO lcAddress NOSHOW
West Wind Technologies
32 Kaiea Place
Paia, Hawaii 96779
United States
ENDTEXT

oGE = CREATEOBJECT("GoogleEarth.ApplicationGE")
DO WHILE oGE.IsInitialized = 0 OR oGE.IsOnline = 0
	DOEVENTS
ENDDO	

oSC = oGE.SearchController
*oSC.ClearResults
INKEY(5)
oSC.Search(lcAddress)
Another solution in the same thread: http://www.js-software.eu/blogging/ p=16
If you want to connect two addressed use the following html http://maps.google.com/maps saddr=Willington,CT&daddr=Wayne,NJ
That's also from UT thread (http://www.universalthread.com/wconnect/wc.dll 2,41,18,1021035#1021298)
The referenced links work after you log into UT.





Re: go to googleearth

Naomi Nosonovsky

One more reference on the topic of maps: http://www.west-wind.com/presentations/shellapi/shellapi.asp



Re: go to googleearth

Dave Nantais

this is a great article....

but i think it might go against Andy's interpretation of the rules... because you have the potential

to send money to Rick via PayPal for the contents of the article...

blah blah blah

great article...

thanks for the link...

i hope Rick Strahl doesn't get life in front of a firing squad for "advertising".

Dave.





Re: go to googleearth

dni

My answer to this topic was deleted.




Re: go to googleearth

AndyKr

Sorry! I was having some problems with removing the off-topic threads. Please re-post it.






Re: go to googleearth

dni

It's ok.

I was saying the quicker way is to use the command run in a "click" method.






Re: go to googleearth

dni

Sorry too, but this topic is also on the next page and it is answered.




Re: go to googleearth

Naomi Nosonovsky

Interesting that this thread was never visited by the thread's originator, so I don't know if my replies were helpful or not. The other thread was marked as solved, but I don't know if it was marked by the thread's originator or by a forum moderator.