CesiumGS / CesiumGS/cesium

viewer.flyTo doesn't fly to multigeometry entities from Kml file

Open
#4,429 3 comments 0 reactions 0 assignees View on GitHub
category - kml type - bug
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

Loading a multigeometry entity from a kml, if I pass it to viewer.flyTo the camera doesn't change. However if I pass the children of the entity to viewer.flyTo it works correctly.
Please find the kml file and a sandcastle example attached (gist # d8f16d92c44ae214f9c2382f0de156e8 for quick loading)

[flyToMultigeometry.zip](https://github.com/AnalyticalGraphicsInc/cesium/files/529032/flyToMultigeometry.zip)
.

Contributor guide

Open the contributing guide

Research direction

Start with the attached flyToMultigeometry.zip or the referenced Sandcastle example and trace the viewer.flyTo entry point using the multigeometry KML entity. Compare passing the entity with passing its children; done means viewer.flyTo changes the camera for the multigeometry entity itself.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.