cesium-navigation icon indicating copy to clipboard operation
cesium-navigation copied to clipboard

Add option to control hiding

Open cguldner opened this issue 7 years ago • 2 comments

Would like to see an option such as screenSizeHide that takes a string that is a pixel value, em, rem, etc. This would set the screen size at which the widget will hide. You could also set it to false or an empty string and have it always display at any screen size

cguldner avatar Jun 19 '17 14:06 cguldner

Good idea. I would suggest the adding of properties for pixels screenWidthSizeHide and screenHeightSizeHide.

As an alternative, would it work for you if I add visibility functions to the plugin API to hide/unhide the compass, zoom controls, and distance scale? You could use these functions in your implementation to fully control the visibility. Thanks.

alberto-acevedo avatar Jul 05 '17 14:07 alberto-acevedo

That could also work, but a single option might make it easier for simple uses

cguldner avatar Jul 05 '17 15:07 cguldner