Skip to main content

TdxMapItemFileLayer.FileType Property

Specifies the format of the file that provides vector data to be loaded into the layer.

Declaration

property FileType: TdxMapItemFileType read; write; default miftKml;

Property Value

Type Default
TdxMapItemFileType miftKml

Remarks

Options include:

Value

Description

miftKml

The KML data file. KML (Keyhole Markup Language) is an XML-based structure with nested elements and attributes. The map control converts this data to map items.

Refer to the “Keyhole Markup Language” and “KML Documentation Introduction” online articles at https://en.wikipedia.org/wiki/Keyhole_Markup_Language and https://developers.google.com/kml/documentation/ to learn about this format.

miftShape

The Esri shapefile. An Esri shapefile is a vector format that represents geographic data using geometries or shapes (e.g., points, polylines, and polygons). Data in this format is usually stored in two files:

  • A SHP file that contains data about shapes. The map control converts this data to map items;

  • A DBF file that contains data associated with shapes stored in the accompanying SHP file. The map control converts this data to map item attributes.

Refer to the “Shapefile” online article at https://en.wikipedia.org/wiki/Shapefile to learn about this format.

See Also