Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting 'sizeInMeters:true' in BillboardGraphics ignores 'rotation' parameter. #4120

Closed
dwhipps opened this issue Jul 14, 2016 · 6 comments
Closed

Comments

@dwhipps
Copy link
Contributor

dwhipps commented Jul 14, 2016

I just added sizeInMeters:true and a width and height in meters to the Sandcastle example here:

http://cesiumjs.org/Cesium/Apps/Sandcastle/?src=Hello%20World.html&label=Showcases&gist=928681213846f9f82cd8db0528efa0db

(Be sure to choose "Set Billboard Properties At Creation", and zoom in to the North East USA.

@hpinkos
Copy link
Contributor

hpinkos commented Jul 14, 2016

Thanks @dwhipps!

Here's a trimmed down code example:

var viewer = new Cesium.Viewer('cesiumContainer');

var entity = viewer.entities.add({
    position : Cesium.Cartesian3.fromDegrees(-75.59777, 40.03883),
    billboard : {
        image : '../images/Cesium_Logo_overlay.png',
        rotation : Cesium.Math.PI_OVER_FOUR,

        scale: 30000,
        sizeInMeters : true
    }
});

@dwhipps
Copy link
Contributor Author

dwhipps commented Jul 26, 2016

Any chance this is going to get fixed for the next release?

@hpinkos
Copy link
Contributor

hpinkos commented Jul 26, 2016

Sorry @dwhipps, we haven't had a chance to look into this one yet

@emackey
Copy link
Contributor

emackey commented Sep 7, 2016

Looks like @dwhipps tracked down the source of this, it was introduced in 7ce1fac.

@emackey
Copy link
Contributor

emackey commented Sep 7, 2016

Also this is a dup of #3979.

@emackey
Copy link
Contributor

emackey commented Sep 7, 2016

Thanks @dwhipps and @bagnell. This fix will be in the October release, Cesium 1.26.

@emackey emackey closed this as completed Sep 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants