sharpkml
sharpkml copied to clipboard
Adding SimpleData Fields?
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><b>Property</b></displayName>
</SimpleField>
<SimpleField type="string" name="State">
<displayName><b>State</b></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!