O'Reilly logo

Programming Atlas by Christian Wenz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12. Virtual Earth

Adding map data to a web application has become more and more popular recently. Businesses can now add a dynamic map to their sites. Modern online map providers offer convenient features such as mouse support, the ability to scroll through the map, and the ability to mark special places on the map by using virtual pushpins.

You’ll find several providers of map and geographical data on the Web, but Atlas, not surprisingly, provides special support for the Microsoft offering, which is a feature of the Windows Live Local service at http://local.live.com. There, Microsoft offers map data for use by developers and consumers. The data source is Microsoft Virtual Earth, which provides both street data and satellite images that can be combined or used separately in web applications. You can zoom in and out of a map and also programmatically add pushpins to it, marking special places and adding your own data. The associated web services through which this information can be accessed are known under the name MapPoint. The MapPoint site provides information on how you can use MapPoint services in your own applications, especially web sites (see http://msdn.microsoft.com/mappoint).

Atlas also supports a direct bridge to the underlying Virtual Earth data. It is beyond the scope of this book to give you a thorough overview of this related technology, but this chapter will nevertheless show you several ways to incorporate map data into your own applications. Also noteworthy ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required