I just started working with Cesium from last 2-3 week and trying to learn different things.
The one of the things that I am curious to know is, how do we hide the cesium-javascript logic from the view (end user)? Currently I have the script tag added in the header of the index.html page that refers to my main javascript file with all the code logic. I am using nodejs for server side. So can anyone please guide/share the recommended application development flow where I can hid the cesium-javascript logic from the HTML view?
Your question doesnât really make any sense. âHideâ⌠what? Hide the Cesium globe so the user canât see it? Separate your appâs logic from the Cesium script bundle? Separate your app logic from the HTML being displayed? Keep the user from being able to View Source on the Cesium code?
What are you actually trying to do overall? What is the end goal?
I think couldnât state clearly. So I am trying to separate my âapp logic from the HTML being displayedâ to end user. For example, see the following code snippet (itâs the source code of HelloWorld example posted by Cesium):