Where do you insert bing key?

582 views
Skip to first unread message

er...@stripe.tv

unread,
Jul 15, 2016, 2:14:49 PM7/15/16
to cesium-dev
I've tried inserting it in multiple of .js files where I could find any reference to the bing key, but that message still pops up at the bottom:

"This application is using Cesium's default Bing Maps key. Please create a new key..."

At the same time, how do I remove the cesium logo from the bottom?

Thanks to anyone who can help.

Hannah Pinkos

unread,
Jul 15, 2016, 2:47:28 PM7/15/16
to cesium-dev, er...@stripe.tv
Hello,

It should work if you set the defaultKey option on BingMapsApi.  Here is an example:

Cesium.BingMapsApi.defaultKey = 'My Api Key';
var viewer = new Cesium.Viewer('cesiumContainer');

Best,

Hannah

er...@stripe.tv

unread,
Jul 15, 2016, 3:27:10 PM7/15/16
to cesium-dev, er...@stripe.tv
Thanks. The line is still showing up at the bottom of the globe, though. Not sure what else could be causing it.

Hannah Pinkos

unread,
Jul 15, 2016, 5:02:34 PM7/15/16
to cesium-dev, er...@stripe.tv
What line are you talking about?  Could you please post a picture?  Thanks!

-Hannah

er...@stripe.tv

unread,
Jul 16, 2016, 3:17:35 PM7/16/16
to cesium-dev, er...@stripe.tv
Hi Hannah,

Here's our website we're working on: www.sailor.life. When you click on "Find Chris" it'll bring up the globe (just like the cesium website). You'll see the message at the bottom.

The globe also periodically doesn't appear for some reason.

Willem van der Gugten

unread,
Jul 18, 2016, 4:03:35 AM7/18/16
to cesium-dev, er...@stripe.tv
I do not see a message about a default Bing key here (Windows 8.1 with Chrome). Maybe you need to clear your cache or just F5.
Btw, the F12 console shows several errors that you may need to check.

Willem
Reply all
Reply to author
Forward
0 new messages