title: Cesium: streaming example of CZML
body: <p>It looks like this question has been asked before but I have been unable to find a proper example. I am familiar with PHP, but new to Javascript, and cannot figure out how to stream CZML. </p>
  
  <p>I want to show about 6.500 assets on a map. To prevent the webpage from showing up AFTER everything is loaded (and testing the users' patience), I want it to show and then load the assets in the background. </p>
  
  <p>Can somebody point me to an example on how to do this? 
  I can manage to load the czml file like this: </p>
  
  <pre><code>var czmlDataSource = new Cesium.CzmlDataSource(); 
  viewer.dataSources.add(czmlDataSource); 
  czmlDataSource.loadUrl('some_file.czml'); 
  </code></pre>
  
  <p>But that's as far as I got :-( I know I should .processUrl somewhere and I understood I should use different packets in the CZML file so my CZML file looks like this: </p>
  
  <pre><code>[ 
  event: czml 
  data: { 
      "id":"document", 
      "version":"1.0" 
    } 
  
  event: czml 
  data: { 
      "id":"1", 
      "billboard":{ 
        "image":"label.png", 
        "verticalOrigin":"BOTTOM", 
        "show":true 
      }, 
      "position":{ 
        "cartographicDegrees":[ 
          20.0, 50.0, 0 
        ] 
      } 
    } 
  
  event: czml 
  data: { 
      "id":"2", 
      "billboard":{ 
        "image":"label.png", 
        "verticalOrigin":"BOTTOM", 
        "show":true 
      }, 
      "position":{ 
        "cartographicDegrees":[ 
          10.0, 52.0, 0 
        ] 
      } 
    } 
  ] 
  </code></pre>
  
  <p>It would be great if somebody can provide a working sample, so a .czml file and a .js file. Thank you!</p>