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

Patch to add strings for KmlDomType printing #164

Open
GoogleCodeExporter opened this issue Jun 30, 2015 · 0 comments
Open

Patch to add strings for KmlDomType printing #164

GoogleCodeExporter opened this issue Jun 30, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Quick patch to kml22.h that generates an array of strings that correspond to 
the types in the KmlDomType enum. The global array, named KmlDomTypeString, can 
be used like this:

KmlDomType type;
type = feature->Type();
cout << KmlDomTypeString[type] << endl;

It was helpful for me, so I thought I would submit it. 

Thanks for making such a useful library!

Will

Original issue reported on code.google.com by [email protected] on 8 Mar 2011 at 8:10

Attachments:

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

No branches or pull requests

1 participant