FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Google maps rotes
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: Google maps rotes
Posted: Mon Aug 10, 2009 06:03 PM

I recently purchased a GPS and I would highly recommend one for anyone driving for business. I will never go back to using printed route instructions. The GPS is like having a navigator in the seat next to you.

And they are cheap now--I paid around US$200 for mine. A business could easily save this amount by the drivers not getting lost anymore. Mine will even automatically reroute you around highway traffic jams (in certain large cities only).

Another issue is that when using printed directions and you make a wrong turn or miss a turn, then you are on your own. With a GPS, it automatically recalculates a new route and then tells you where your next turn is. Awesome!

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 729
Joined: Tue Oct 18, 2005 06:49 PM
Re: Google maps rotes
Posted: Mon Aug 10, 2009 06:21 PM

G. N. Rao.

You need to "geocoding addresses" in order to correlate you address with latitudes and longitudes.
You can use:
A) Google Maps API geocoder
B) Yahoo Geocoding API
C) geocoder.us

By passing the address you will get Lat/Long info.

Regards,

George

Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
Re: Google maps rotes
Posted: Mon Aug 10, 2009 07:14 PM

There is an API for Google Maps. Some time ago someone on this board acquired the necessary tools. They did some programming and was marketing the code. At the time, if you wanted to be legal there was some cost involve with the Google tools. Because I did not need that level of control I decided to take a different approach. What could I do on the address line? So I went online and tried different options in Google Maps. Then generated the link and studied what they were doing. As it turned out most of what was generated was not needed, so I just took the most simple and direct approach. There are still some things you can do on the address line but more than likely you will have to get the API.

Posts: 566
Joined: Thu Aug 30, 2007 03:40 PM
Re: Google maps rotes
Posted: Tue Aug 11, 2009 03:36 PM

hi , thanks to all, works fine. i need adapt this class to dont show google photos and ads, like first sample posted , this is possible? thanks

Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
Re: Google maps rotes
Posted: Tue Aug 11, 2009 07:23 PM

If you use the "Directions" (Using 2 or more addresses) I don't see any advertisements. If you use just one address then I do see sponsor ads along with the map.

Here is info on the Google API which does not display ads. http://code.google.com/apis/maps/signup.html
The free version is tied to 1 domain. I don't have much time to look into this right now but anyone can take my code and do what you want with it.

Posts: 43
Joined: Wed Jun 20, 2012 04:07 AM
Re: Google maps points
Posted: Wed Nov 02, 2016 04:24 AM
Code (fw): Select all Collapse
I have come across threads by Gale Ford about his Google map webmap class, map resource, webmap.prg,etc.,
from approx. 2007 and further to 2014, but the links seem to be broke ?
Does someone have these items available ?

http://www.hotshare.net/file/24300-4713157df9.html

http://www.xharbour.com/xhc/index.asp?page=xhc_download_detail.asp&type=dl&id=132&show_i=7&show_sub=1

http://www.xharbour.com/xhc/index.asp?page=xhc_download.asp&type=dla&auth=517&show_h=8&show_i=8&show_sub=2
Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
Re: Google maps rotes
Posted: Wed Nov 02, 2016 08:19 PM
Posts: 43
Joined: Wed Jun 20, 2012 04:07 AM
Re: Google maps rotes
Posted: Sat Nov 05, 2016 02:11 PM
Code (fw): Select all Collapse
Gale,

Thank you for the link.

Works great !

Would you have the "Map" resource used in the code ?

Thanks in advance

Bruce
Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
Re: Google maps rotes
Posted: Sat Nov 05, 2016 07:22 PM

should have .rc in the zip file

Continue the discussion