Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxMapItemFileLayer.LoadFromStream(TStream) Method

Loads KML vector data from a specified file stream.

#Declaration

Delphi
procedure LoadFromStream(AFileStream: TStream);

#Parameters

Name Type
AFileStream TStream

#Remarks

This method does the following:

  • Loads KML vector data from the file stream passed as the AFileStream parameter. If an exception occurs during this operation, the layer’s MapItems collection is cleared;

  • Populates the layer’s MapItems collection with map items that are created based on the loaded data;

  • Sets the Active property to True if data loading succeeds.

See Also