O'Reilly logo

OpenLayers Cookbook by Antonio Santiago Perez

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

Using Bing imagery

Bing Maps, previously known as Virtual Earth, is the mapping service provided by Microsoft.

In the same way as Google Maps, OpenLayers offers an OpenLayers.Layer.Bing class, which brings us the possibility to add Bing imagery in our projects.

Using Bing imagery

Getting ready

Bing Maps requires you to register as a consumer user. Once registered, you will get an API key needed to initialize the OpenLayers.Layer.Bing layer and that will be used with every request to authenticate you against the Bing Maps service.

Opposite to Google Maps, Bing does not require any JavaScript code and the OpenLayers.Layer.Bing class does not act as a wrapper. Bing Maps ...

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