|
10 | 10 | <script type="text/javascript" src="../Sandcastle-header.js"></script>
|
11 | 11 | <script type="text/javascript" src="../../../ThirdParty/requirejs-2.1.20/require.js"></script>
|
12 | 12 | <script type="text/javascript">
|
13 |
| - require.config({ |
14 |
| - baseUrl : '../../../Source', |
15 |
| - waitSeconds : 60 |
16 |
| - }); |
| 13 | + if(typeof require === "function") { |
| 14 | + require.config({ |
| 15 | + baseUrl : '../../../Source', |
| 16 | + waitSeconds : 120 |
| 17 | + }); |
| 18 | + } |
17 | 19 | </script>
|
18 | 20 | </head>
|
19 | 21 | <body class="sandcastle-loading" data-sandcastle-bucket="bucket-requirejs.html">
|
|
38 | 40 | "cartographicDegrees" : [-110.0, 50.0, 0]
|
39 | 41 | }
|
40 | 42 | }, {
|
41 |
| - "id" : "outlineColor-reference", |
| 43 | + "id" : "fillColor-reference", |
42 | 44 | "name" : "Referencing Position",
|
43 | 45 | "description" : "<p>For more examples of reference properties, see CZML Polygon - Interpolating References.</p>",
|
44 | 46 | "billboard" : {
|
|
62 | 64 | "text" : "referencing position"
|
63 | 65 | },
|
64 | 66 | "position" : {
|
65 |
| - "reference" : "position-reference#position" |
| 67 | + "reference" : "position-reference#position" |
66 | 68 | }
|
67 | 69 | }, {
|
68 | 70 | "id" : "polygon",
|
69 |
| - "name" : "Referencing Outline Color", |
| 71 | + "name" : "Referencing Fill Color", |
70 | 72 | "description" : "<p>For more examples of reference properties, see CZML Polygon - Interpolating References.</p>",
|
71 | 73 | "label" : {
|
72 | 74 | "fillColor" : {
|
|
78 | 80 | "cartesian2" : [20, 0]
|
79 | 81 | },
|
80 | 82 | "style" : "FILL_AND_OUTLINE",
|
81 |
| - "text" : "referencing outlineColor" |
| 83 | + "text" : "referencing fillColor" |
82 | 84 | },
|
83 | 85 | "position" : {
|
84 | 86 | "cartographicDegrees" : [-105, 35, 0]
|
|
94 | 96 | ]
|
95 | 97 | },
|
96 | 98 | "height" : 0,
|
97 |
| - "outline" : true, |
98 |
| - "outlineColor" : { |
99 |
| - "reference" : "outlineColor-reference#label.outlineColor" |
100 |
| - }, |
101 |
| - "outlineWidth" : 5 |
| 99 | + "material" : { |
| 100 | + "solidColor" : { |
| 101 | + "color" : { |
| 102 | + "reference" : "fillColor-reference#label.outlineColor" |
| 103 | + } |
| 104 | + } |
| 105 | + } |
102 | 106 | }
|
103 | 107 | }];
|
104 | 108 |
|
105 | 109 | var viewer = new Cesium.Viewer('cesiumContainer');
|
106 | 110 | viewer.dataSources.add(Cesium.CzmlDataSource.load(czml));
|
107 |
| - |
108 | 111 | //Sandcastle_End
|
109 | 112 | Sandcastle.finishedLoading();
|
110 | 113 | }
|
|
0 commit comments