-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ExportKml doesn't export ellipse graphics. #10609
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to export ellipse graphics from cesium to either a KML or KMZ file if it uses an image. I've stepped through the code to see where it's supposed to be adding the entities to the KML document, but it looks like you don't have any support for ellipse when it goes into the recurseEntities() function. Is there any work being done for that currently?
I also would like to request some better examples of how to add external image files to the KMZ file. For example, we use a '.png' image for any drop point that we add on our map. If I try to export that point to a KMZ file, I don't see a way to add the image because:
The only way I can see this being accomplished is to add the external files to the result.externalFiles after I create the KML, but then I would have to write my own method to take those files and parse the KML file to replace all the tags with the image that I'm using for points. I thought this functionality was already baked into the exportKml() method.
Please correct me if I'm wrong.
Here is a sandcastle that I modified to include various shapes (CZML and Entity), and write the KML output to the console.
Sandcastle example:
ExportKml example using CZML data
Browser:
Chrome and Edge
Operating System:
Windows 10
The text was updated successfully, but these errors were encountered: