Virtual Earth Web Service Maps and Pushpins

With the Virtual Earth Web Service not only can you get static maps via the Imagery Service, but you can add some of the default pushpins you see in Live Search Maps to the static map that is returned to you if you set the Pushpins as a part of the request. In the Imagery […]

With the Virtual Earth Web Service not only can you get static maps via the Imagery Service, but you can add some of the default pushpins you see in Live Search Maps to the static map that is returned to you if you set the Pushpins as a part of the request. In the Imagery Service there are several options you can set, but the Pushpin is not one of them. Pushpins actually reside in the MapUriRequest Class, so you’ll need to set them there. First, you create your Pushpin array, then pass the array into the MapUriRequest.

If you are using multiple Pushpins, you can use the MapUriOptions.PreventIconCollision Property to keep the pushpin icons from stacking atop each other and instead placing them on a stick.

Full Article