Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Google maps, how to search for adress and get lattitude and longitude

Status
Not open for further replies.

CAWIND

Programmer
Jun 14, 2011
2
SE
Hi!

Is there anyone who have succeded to use the google maps API with powerbuilder to search for an adress to get the lattiude and longitude and set the marker on a map?

I managed to send in lattitude and logitud and put the marker on the map. But not to use teh adress search with geocode.

Hope for answers and idees
 
I uploaded my code.

After som change I can now get the marker at the right place, but it still dosent work ok.

An error will occur when you press FIND button (for adress search).

If you look at the code under rendergeocode, you will see what I hd to do to get it to work.

My wish is also to move focus to the new marker and to move the lattitude and longitude into local PB variables.


//CAWIND
 
 http://www.mediafire.com/myfiles.php#hvwstqx5tta5t,1
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top