On 3/17/2011 2:12 AM, Mike Copeland wrote:
> 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.


Sounds go very cool!  I like "easy"!  Guess I need to now learn the 
format of the URL string I'll build with the addresses for A, B, C, and 
D locations so as to build that string.  That's gonna be a long string!

-- 
Mike Babcock, MCP
MB Software Solutions, LLC
President, Chief Software Architect
http://mbsoftwaresolutions.com
http://fabmate.com
http://twitter.com/mbabcock16

_______________________________________________
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