Clarification on Cesium ion and access token

1,556 views
Skip to first unread message

lucas.cit...@gmail.com

unread,
Jul 18, 2018, 5:00:12 AM7/18/18
to cesium-dev
Hi all,

Apologies if this has been asked, but I didn't see it if so. I've recently been testing v1.47 of CesiumJS and am seeing the access token warning:

This application is using Cesium's default ion access token. Please assign Cesium.Ion.defaultAccessToken with an access token from your ion account before making any Cesium API calls. You can sign up for a free ion account at https://cesium.com.

As I understand, the access token is for using ion. I don't believe I am currently using any ion assets in my app and the access token warning shows when I just use OSM tiles and 3D-tiles hosted by myself. Is this expected behaviour? If I just continue to use CesiumJS can I legitimately manually remove this? Or should it be disappearing on its own? Or do I just register for a Community plan and then not use any ion assets?

Scott Hunter

unread,
Jul 18, 2018, 9:36:16 AM7/18/18
to cesiu...@googlegroups.com
Cesium ion is also used by default in the geocoder.  If you want to suppress the warning, you can either disable the geocoder, if you're not using it, or configure it to use a different GeocoderService.

--
You received this message because you are subscribed to the Google Groups "cesium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

lucas.cit...@gmail.com

unread,
Jul 19, 2018, 3:52:55 AM7/19/18
to cesium-dev

Kevin Ring

unread,
Jul 19, 2018, 4:10:06 AM7/19/18
to cesiu...@googlegroups.com

lucas.cit...@gmail.com

unread,
Jul 19, 2018, 8:03:04 AM7/19/18
to cesium-dev
Ah, I see. Yes that has indeed fixed it. Thanks both!
> www.kotachrome.com/kevin

Reply all
Reply to author
Forward
0 new messages