Include fiedl of view in annotation data
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
@@ -53,6 +53,8 @@ selectAnnotation = function(mView, annotId) {
|
||||
an.classList.remove('HiddenAnnotation');
|
||||
if (an.parentElement.dataset.target) {mView.cameraTarget = an.parentElement.dataset.target}
|
||||
if (an.parentElement.dataset.orbit) {mView.cameraOrbit = an.parentElement.dataset.orbit}
|
||||
const anFov = an.parentElement.getAttribute('field-of-view')
|
||||
if (anFov) {mView.fieldOfView = anFov}
|
||||
anSelected = true
|
||||
} else {
|
||||
an.classList.add('HiddenAnnotation');
|
||||
|
||||
Reference in New Issue
Block a user