{"id":1503,"date":"2015-11-17T03:59:02","date_gmt":"2015-11-17T03:59:02","guid":{"rendered":"http:\/\/www.phpmind.com\/blog\/?p=1503"},"modified":"2015-11-17T03:59:12","modified_gmt":"2015-11-17T03:59:12","slug":"cesiumjs-how-to-reset-camera","status":"publish","type":"post","link":"https:\/\/www.phpmind.com\/blog\/2015\/11\/cesiumjs-how-to-reset-camera\/","title":{"rendered":"Cesiumjs  &#8211; How to  Reset camera ?"},"content":{"rendered":"<pre>\r\nvar camera = viewer.camera;\r\n    camera.flyTo({\r\n        destination: camera.positionWC,\r\n        orientation: {\r\n            heading : 0,\r\n            pitch: camera.pitch,\r\n            roll: camera.roll\r\n        }\r\n    });\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>var camera = viewer.camera; camera.flyTo({ destination: camera.positionWC, orientation: { heading : 0, pitch: camera.pitch, roll: camera.roll } });<\/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-1503","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\/1503","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=1503"}],"version-history":[{"count":2,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/posts\/1503\/revisions"}],"predecessor-version":[{"id":1505,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/posts\/1503\/revisions\/1505"}],"wp:attachment":[{"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/media?parent=1503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/categories?post=1503"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/tags?post=1503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}