PDA

View Full Version : Windows Live Local



jlewis
01-08-2009, 08:59 AM
Hi All,

When you click on the 'Show in Windows Live Local' button, MapPoint launches IE with an address that shows the locality.

The address string seems to contain the lat & long of the centre of the map plus some other stuff.

for example:-

?http://maps.live.com/default.aspx?cp=51.855331%7c-2.236376&style=h&lvl=16&v=1 (obviously without the ? at the beginning!)

can anyone shed any light on what style, lvl and v relate to (I've sussed out that lvl seems to relate to the altitude but can't figure out an exact correlation between the actual altitude (in miles or kilometres) and what's required).

Many thanks

Winwaed
01-08-2009, 12:21 PM
Virtual Earth works in terms of preset zoom (altitude) settings. So lvl of 16 is probably zoomed in quite a bit. 15 would be a bit less (higher altitude), 17 would be zoomed in a bit more (lower altitude).


Richard

Eric Frost
01-09-2009, 06:54 AM
Style=h is hybrid.. not sure about v

There was a post about the altitude's, I will find it.

Eric

Eric Frost
01-09-2009, 06:59 AM
Here's the post about the zoom settings..

Virtual Earth, An Evangelist's Blog : Map Control: Zoom Levels - Resolution (http://blogs.msdn.com/virtualearth/archive/2006/02/25/539239.aspx)

I like this part...

How did we arrive at these seemingly convoluted numbers?

The answer should be.

Well, honestly, we just copied Google Maps. hehe.

Eric

Eric Frost
01-09-2009, 07:09 AM
Here's information about the other URL parameters..

http://www.mapforums.com/live-search-maps-api-7446.html

Click on Help at the bottom of maps.live.com and search for "Build your own url"

v is the version, I think you can ignore it.

Here are the settings for style

Defines the map view. Valid values for this parameter include:

a: Use this value to display an aerial view of the map.
r: Use this value to display a road view of the map.
h: Use this value to display an aerial view of the map with labels.
o: Use this value to display a bird's eye (oblique) view of the map.
b: Use this value to display a bird's eye (oblique) with labels view of the map.

hope this helps!
Eric