{"id":1506,"date":"2015-11-17T21:39:57","date_gmt":"2015-11-17T21:39:57","guid":{"rendered":"http:\/\/www.phpmind.com\/blog\/?p=1506"},"modified":"2015-11-17T21:39:57","modified_gmt":"2015-11-17T21:39:57","slug":"cesiumjs-how-to-make-wall","status":"publish","type":"post","link":"https:\/\/www.phpmind.com\/blog\/2015\/11\/cesiumjs-how-to-make-wall\/","title":{"rendered":"Cesiumjs &#8211;  How to make Wall ?"},"content":{"rendered":"<p><a href=\"http:\/\/www.phpmind.com\/blog\/wp-content\/uploads\/2015\/11\/Cesiumjs-how-to-make-wall.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.phpmind.com\/blog\/wp-content\/uploads\/2015\/11\/Cesiumjs-how-to-make-wall.png\" alt=\"Cesiumjs-how-to-make-wall\" width=\"619\" height=\"314\" class=\"aligncenter size-full wp-image-1507\" srcset=\"https:\/\/www.phpmind.com\/blog\/wp-content\/uploads\/2015\/11\/Cesiumjs-how-to-make-wall.png 619w, https:\/\/www.phpmind.com\/blog\/wp-content\/uploads\/2015\/11\/Cesiumjs-how-to-make-wall-300x152.png 300w\" sizes=\"auto, (max-width: 619px) 100vw, 619px\" \/><\/a><\/p>\n<pre>\r\nvar viewer = new Cesium.Viewer('cesiumContainer');\r\n\r\nvar blueCorridor = viewer.entities.add({\r\n    corridor : {\r\n\r\n        positions : Cesium.Cartesian3.fromDegreesArray([\r\n            -120.0, 60.0,\r\n            -90.0, 60.0\r\n        ]),\r\n\r\n        extrudedHeight : 500000.0,\r\n        width : 50.0,\r\n        cornerType: Cesium.CornerType.BEVELED,\r\n        material : Cesium.Color.BLUE.withAlpha(0.5),\r\n        outline : true,\r\n        outlineColor : Cesium.Color.BLUE\r\n    }\r\n});\r\n\r\n\r\nviewer.zoomTo(viewer.entities);\r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>var viewer = new Cesium.Viewer(&#8216;cesiumContainer&#8217;); var blueCorridor = viewer.entities.add({ corridor : { positions : Cesium.Cartesian3.fromDegreesArray([ -120.0, 60.0, -90.0, 60.0 ]), extrudedHeight : 500000.0, width : 50.0, cornerType: Cesium.CornerType.BEVELED, material : Cesium.Color.BLUE.withAlpha(0.5), outline : true, outlineColor : Cesium.Color.BLUE } }); viewer.zoomTo(viewer.entities);<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[53,27],"tags":[],"class_list":["post-1506","post","type-post","status-publish","format-standard","hentry","category-cesiumjs","category-javascript"],"_links":{"self":[{"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/posts\/1506","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/comments?post=1506"}],"version-history":[{"count":1,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/posts\/1506\/revisions"}],"predecessor-version":[{"id":1508,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/posts\/1506\/revisions\/1508"}],"wp:attachment":[{"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/media?parent=1506"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/categories?post=1506"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/tags?post=1506"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}