Gets or sets the currently selected imagery. This property is observable.
This suggests I might be able to observe a property change here to get what I want. Using definitonChanged as suggested by the Property reference, I try this:
In the docs, when we refer to “observable” properties, this is a Knockout concept. (see http://knockoutjs.com for more info) The Knockout observable properties can be obtained using Cesium.knockout.getObservable and then you can subscribe to changes.
HI Everyone,
I have a question. When the user select a basemap, the basemap should be shown when the browser reloaded or the a new browser is opened… How to achieve that???