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 SimpleData Fields? #40

Open
avreiche opened this issue Jul 30, 2021 · 0 comments
Open

Adding SimpleData Fields? #40

avreiche opened this issue Jul 30, 2021 · 0 comments

Comments

@avreiche
Copy link

I'm trying to use sharpkml to add simple data forms to my kml doc.

The setup for the kml Schema and SimpleField name:

<Schema name="MySchema" id="MS01">
	<SimpleField type="string" name="Property">
               <displayName>&lt;b&gt;Property&lt;/b&gt;</displayName>
        </SimpleField>
        <SimpleField type="string" name="State">
               <displayName>&lt;b&gt;State&lt;/b&gt;</displayName>
        </SimpleField>
</Schema>

The reference for it under the placemark:

<ExtendedData>
      <SchemaData schemaUrl="#MS01">
	      <SimpleData name="Property">Building 1</SimpleData>
              <SimpleData name="State">AZ</SimpleData>
      </SchemaData>
</ExtendedData>

Any tips on how I could achieve this? Love the tool so far, everything has been incredibly helpful!

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

1 participant