Zoom Drag tools

Hi!

I need to put buttons to zoom and move the map. Like google:

Can I do it?

If there’s nothing like it, I can do with the method scene.viewExtent(…); But I need to know the current extend of the screen. How can I get it?

Thanks!

Hi Tamy,

We actually made a UI like this for the Santa tracker that Scott mentioned recently. There are a few screenshots (see the upper-right corner) in this blog post. This is not in master yet, but I imagine will be available in January as we cleanup things from this app and bring them into Cesium. This uses the camera branch which will land in master soon.

Regards,

Patrick