Google maps rotes

User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Re: Google maps rotes

Post by James Bott »

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
George
Posts: 710
Joined: Tue Oct 18, 2005 6:49 pm

Re: Google maps rotes

Post by George »

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
Gale FORd
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston
Contact:

Re: Google maps rotes

Post by Gale FORd »

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.
norberto
Posts: 566
Joined: Thu Aug 30, 2007 3:40 pm
Location: BR

Re: Google maps rotes

Post by norberto »

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
Gale FORd
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston
Contact:

Re: Google maps rotes

Post by Gale FORd »

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.
brewster
Posts: 43
Joined: Wed Jun 20, 2012 4:07 am

Re: Google maps points

Post by brewster »

Code: Select all

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 

 
Gale FORd
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston
Contact:

Re: Google maps rotes

Post by Gale FORd »

brewster
Posts: 43
Joined: Wed Jun 20, 2012 4:07 am

Re: Google maps rotes

Post by brewster »

Code: Select all


Gale,

Thank you for the link.

Works great !

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

Thanks in advance

Bruce

 
Gale FORd
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston
Contact:

Re: Google maps rotes

Post by Gale FORd »

should have .rc in the zip file
Post Reply