Stupid question I suspect.
I can display and move say a label if I set the epoch to the current time in the CZML file.
How do I set the overall time of when to start from the CZML file?
Thanks
Ian
Stupid question I suspect.
I can display and move say a label if I set the epoch to the current time in the CZML file.
How do I set the overall time of when to start from the CZML file?
Thanks
Ian
It’s not perfect, but right now the CZML file time is computed automatically from the aggregated availability properties of the individual objects. However, if the contents of the file is “infinite” then the clock will just use the current time.
A work around is to either artificially limit one of the items in the file to include availability, or create a dummy object with the limit you want. For example:
{
“id”:“CzmlTimeInterval”,
“availability”:“2012-03-15T10:00:00Z/2012-03-16T10:00:00Z”
}
I hope this helps. If I misunderstood the question, just let me know.