[]
        
(Showing Draft Content)

C1.FlexMap.KmlReader.Read

Read Method

Read(Stream)

Reads spatial data from kml stream.

Declaration
public static IEnumerable<GeoGeometryRecord> Read(Stream stream)
Parameters
Type Name Description
Stream stream

Stream that contains KML data.

Returns
Type Description
IEnumerable<GeoGeometryRecord>

The collection of geometry records.

Remarks

The record data contains the following attributes.

  • name: the item name.
  • style-fillcolor: the fill color style with format "aabbggrr".
  • style-strokecolor: the stroke color style with format "aabbggrr".
  • <SimpleField-Name>: the attribute defined in <SimpleField> node.