On Wed, Jan 6, 2010 at 11:12 AM, Peter Hart <[email protected]> wrote: > Hi Stephen, > > What I really want to do is to create a URL which takes you to Bing Maps and > has the map reference i.e. Latitude and Longitude in the URL so that the > default browse opens up zoomed into the location supplied. > David Crozier supplied a demo of an application that used Virtual Earth to > display the map of your choice using and I.E. activeX on a VFP form. > This no longer works at least on any of my computers with a browser error > coming up. I presume this is because Virtual Earth has been superseded by > Bing Maps. > One of my employees has written a VFP application for use by his relatives to > create a family tree. He wants to give them the option of being able to > bring up a browser with the last know location for the relative showing. > Currently he has a text box with the Latitude and Longitude in it (this is > saved in a table). Double clicking on the text box copies it to the clipboard > and then opens Bing maps with the world showing. He then pastes the map > reference into the location box on the Bing page and it zooms to the correct > location. -------------------------
<http://help.live.com/help.aspx?project=bing_maps&market=en-us> cp Center point cp=47.677797~-122.122013 Defines where the center of the map should be. Use the following format for the cp parameter: Latitude~Longitude Both values must be expressed in decimal degrees. HTH -- Stephen Russell Sr. Production Systems Programmer SQL Server DBA Web and Winform Development Independent Contractor Memphis TN 901.246-0159 _______________________________________________ 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.

