Satellite layer for OpenLayers 3 (except Google)

Gigelicious picture Gigelicious · Mar 7, 2016 · Viewed 7.1k times · Source

I am looking for a satellite layer (except Google) which runs with OpenLayers 3. According to the examples, it should be possible to connect OL3 with Bing satellite, MapQuest satellite or OSM satellite. However, the provided examples do not work anymore. Bing satellite does not work at all and the supply of MapQuest tiles stops once I have reached a specific zoom level.

Am I the only one with this type of problem? Did I missed something or just took something not into account?

2 Years ago, I was programming on a project, which included OpenLayers 2. With OL2, it was possible to create a map referring to the Bing satellite layer as well as the OSM satellite layer. It worked without any trouble. Since then, they shut down all this services.

Does anyone has had the same problem and got a solution? I would very appreciate it.

Thanks!

Answer

ahocevar picture ahocevar · Mar 7, 2016

Bing does work. See the bing-maps example from the latest release. Make sure to get your own API key from http://www.bingmapsportal.com/ when you use Bing layers in OpenLayers.

The reason why the Bing layer is not displayed in the example you linked is because the API key is expired there.