Opened 6 months ago

Closed 5 months ago

#2323 closed defect (fixed)

cesium does not show a map as the cesium access token is not falid

Reported by: astrid_emde Owned by: osgeolive@…
Priority: critical Milestone: OSGeoLive14.0
Component: OSGeoLive Keywords:
Cc: osgeolive@…

Attachments (1)

cesium_hello_world.png (158.5 KB) - added by astrid_emde 6 months ago.

Download all attachments as: .zip

Change history (6)

Changed 6 months ago by astrid_emde

Attachment: cesium_hello_world.png added

comment:1 Changed 6 months ago by astrid_emde

In a tutorial it looks like the access_code has to be added before the Cesium Viewer is created: https://cesium.com/docs/tutorials/quick-start/

Add this to /var/www/html/cesium/Apps/HelloWorld.html

Your access token can be found at: https://cesium.com/ion/tokens. Cesium.Ion.defaultAccessToken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIwNjJhYTMzNS1lNzZkLTRmNWQtYmY5Zi0wYjdkYjQ2MTE4ZTYiLCJpZCI6NDc1NjUsImlhdCI6MTYxNzEzNTEzOH0.lf_WWRtP9LlyYbVSr0KdhFI4FzReQsqKQwK-vYK5BPI'; Initialize the Cesium Viewer in the HTML element with the cesiumContainer ID.

Version 0, edited 6 months ago by astrid_emde (next)

comment:2 Changed 6 months ago by astrid_emde

The error does not occur in newer releases. We could use the version 1.80.

-> Change to CESIUM_VERSION="1.80"

https://github.com/OSGeo/OSGeoLive/blob/master/bin/install_cesium.sh#L30

comment:3 Changed 6 months ago by kalxas

Cc: osgeolive@… added
Milestone: OSGeoLive14.0
Priority: normalcritical
Type: taskdefect

comment:4 Changed 6 months ago by kalxas

Fixed in build 275, this means we will need to make an rc3 release soon

comment:5 Changed 5 months ago by kalxas

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.