cesium.vwf.yaml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # Copyright 2012 United States Government, as represented by the Secretary of Defense, Under
  2. # Secretary of Defense (Personnel & Readiness).
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
  5. # in compliance with the License. You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software distributed under the License
  10. # is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
  11. # or implied. See the License for the specific language governing permissions and limitations under
  12. # the License.
  13. ## Cesium earth component
  14. ##
  15. ## @name cesium.vwf
  16. ## @namespace
  17. ---
  18. extends: http://vwf.example.com/node2.vwf
  19. properties:
  20. controlClient: "NONE"
  21. cameraControllerData:
  22. cameraViewData:
  23. backgroundColor: [ 0, 0, 0, 0 ]
  24. renderStyle: "3D"
  25. imageryProvider: "bingAerial"
  26. enableLook:
  27. enableRotate:
  28. enableTilt:
  29. enableTranslate:
  30. enableZoom:
  31. events:
  32. pointerClick:
  33. pointerDoubleClick:
  34. pointerDown:
  35. pointerMove:
  36. pointerUp:
  37. pointerEnter:
  38. pointerOver:
  39. pointerLeave:
  40. scripts:
  41. - |
  42. this.initialize = function() {
  43. //console.info( "=============== cesium.initialize ===============" );
  44. var camDef = {
  45. "extends": "http://vwf.example.com/cesium/camera.vwf"
  46. }
  47. //this.children.create( "sharedCamera", camDef, function( child ) {
  48. //
  49. //} );
  50. }