Avoiding Bing Maps API

I’m imagery that isn’t being provided by Bing Maps and do not want to use the Bing Maps API in my application. How do I prevent the message indicating I’m using Cesium’s default Bing Maps key from appearing without modifying the source?

cesiumViewer = new Viewer(‘cesiumContainer’, {
baseLayerPicker: false,
imageryProvider: new TileMapServiceImageryProvider({
url : buildModuleUrl(‘Assets/Textures/NaturalEarthII’)
})
});

Thanks!

Hi Eugene,

The Bing Maps API is used for the geocoder as well. You can turn it off with another option to the Viewer constructor:

cesiumViewer = new Viewer(‘cesiumContainer’, {

                baseLayerPicker: false,
                imageryProvider: new TileMapServiceImageryProvider({

                    url : buildModuleUrl('Assets/Textures/NaturalEarthII')

                }),

geocoder: false
});

Kevin

Thanks Kevin!