On Wed, Jul 30, 2014 at 11:16 AM, Rafael Copquin <[email protected]> wrote:
> I am developing a form that, at the click of a button will show the > location map of an address pulled from a client table. > > Questions > > 1. The map should be shown on the form (inside the browser control) or > directly on the browser > 2. It should launch the default browser of the incumbent machine > (Internet Explorer, Google Chrome, FireFox) > > I have been experimenting with code from different web sources but am not > completely satisfied. > > IE sucks. It just shows the address in a textbox, a search button on the > right but nothing happens when you click it > > Chrome shows the location map in Google Maps if the actual physical > address is requested but if the URL is sent, it keeps showing the map, at > the left a dialog asks whether it is the URL one wants and when you click > on that link, a series of error dialogs appear and all you get is > frustration. > FireFox can't find the address at all but opens a number of pages, > consisting of one page for each word in the address) > > I need code that really works in all three environments (an possibly also > in Safari, but I never used that browser) > > ------------- You have to first pick your mapping provider first. Then get the url generated properly for rendering. Google, MapQuest or Bing all do it differently. -- Stephen Russell Sr. Analyst Ring Container Technology Oakland TN 901.246-0159 cell --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/cajidmy+poi1trawp332eqvfhcv6h_n-owtyda5off5mr9zr...@mail.gmail.com ** 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.

