Yep. I have found it easy to use Google Maps embedded in a browser on a 
form (in VFP9) or by just stuffing the URL into a browser launched with 
ShellExecute.

One thing I found out the hard way is that there is a subtle 
incompatibility between the Google Maps page data and IE8 (not sure 
about other IE flavors).

The map displays okay in IE, and the routing data is shown (turn left, 
travel 300 feet, turn around...) but when you try to print the page to 
paper, the map and only a part of the route info prints. Interestingly, 
the same URL loaded into Chrome prints everything like a champ. So for 
my clients that use the mapping button I use in my VFP9 apps, I also 
strongly urge that they install Chrome and then, if it is installed, my 
app will use ShellExecute to load the URL.

I use Google Maps this way for two main purposes....to provide the 
display of distance (from the retail location address to the customer's 
delivery address, including alternate routes and time of travel) and to 
show a complete route map for a delivery truck that starts at point A 
(the retail store's warehouse location), through delivery points B, C, 
D, E, F, G, H, etc., and then back to A.

When showing the entire route, Google Maps also shows the travel time 
and mileage, plus it allows you complete interaction to rearrange, 
delete, and reroute with mouse movements on the map. Very handy! 
Unfortunately, once modified there is no way to save this info other 
than printing it to PDF or hard copy.

I've never used the Google API. Stuffing a URL string into the Chrome 
browser is just too easy, so I've never needed to try to figure out the 
Google Maps API details.

Mike

> So I could use this instead of integrating with MapQuest to show
> map/routing directions from Points A to B to C?

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to