Skip to content
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

Adding a sound in a KML #10

Open
witalobenicio opened this issue Jul 8, 2013 · 5 comments
Open

Adding a sound in a KML #10

witalobenicio opened this issue Jul 8, 2013 · 5 comments

Comments

@witalobenicio
Copy link

Hi, im a brazilian student and im using Simple-KML to develop an app for my group, and now i need to integrate a sound in the kml that my app generates.
You use the tag gx:SoundCue to integrate a sound, but i think in the Simple-KML thats no way to do this.
Can someone give me any idea?

@romainpiel
Copy link
Contributor

Hey, thanks for your suggestion. At the moment I have no time to update this repo but feel free to fork it and do a pull request with your changes. It shouldn't be a big task ;)

@witalobenicio
Copy link
Author

Uh, ok, i will try to do this. If i understood, i think i have to create two more classes in the model, because a gx:SoundCue comes inside a gx:TourPrimitive, i'm thinking right?. If it works i will post here.

@witalobenicio
Copy link
Author

Man, there is some way that i can overwrite a kml already generated adding some texts?

@romainpiel
Copy link
Contributor

Yep, one class per new tag. xmlns should work. Simple-KML is based on Simple-XML library. Everything possible in there is available with Simple KML.

@witalobenicio
Copy link
Author

I find a way to solve my problem man. Seems very simple, if itworks well i will post here. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants