CesiumGS / cesium

An open-source JavaScript library for world-class 3D globes and maps :earth_americas:
https://cesium.com/cesiumjs/
Apache License 2.0
12.81k stars 3.46k forks source link

Make Cesium ion logo scale based on screen width #7543

Open OmarShehata opened 5 years ago

OmarShehata commented 5 years ago

The Cesium ion logo looks great on desktop/large screens:

ion-logo-small

But on mobile/small screens, it takes up too much space:

ion-logo-big

This is especially relevant if you're making an app that is not meant to take the whole screen width, such as this widget embedded on a page in this forum post.

It would be nice to scale it based on container/canvas size. @hpinkos

emackey commented 5 years ago

As an alternative to scaling to consider, there could also be a reduced opacity, making it look more like a watermark.