[OpenLayers-Users] Bing-Layer with OSM-API V3

Wolfgang Wienke wo_wienke at gmx.net
Thu Nov 6 12:54:23 PST 2014


Hi,
I tried the above, the aerial works with:

var    map = new ol.Map({
     target: 'map',
     layers: [ new ol.layer.Tile({ source: new ol.source.BingMaps({
                 key: <mein Key>,
                 imagerySet: 'AerialWithLabels' })
                 })
         ],
         view: new ol.View({ center: 
ol.proj.transform([6.10428,50.76079], 'EPSG:4326', 'EPSG:3857'),
                 zoom: 11 }),
     });

I tried to get (standard) controls and attribution, but nothing works. 
Any idea about my bugs?
Do I need additional scripts or *.css?

-- 
                                mit freundlichen Grüssen

                                      Wolfgang Wienke


More information about the Users mailing list