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

TdxMapControlOpenStreetMapImageryDataProvider Class

An OpenStreetMap tile data provider.

#Declaration

Delphi
TdxMapControlOpenStreetMapImageryDataProvider = class(
    TdxMapControlImageTileProvider
)

#Remarks

An OpenStreetMap tile data provider is the main component required to display OpenStreetMap tiles in the Map Control. You need to configure the data provider for each tile map layer in your application.

VCL Map Control: An OpenStreetMaps Example

#OpenStreetMap Terms of Use

Refer to the following topics for detailed information on terms of use:

#Indirect TdxMapControlOpenStreetMapImageryDataProvider Class Reference

The TdxMapImageTileLayer.Provider property references the TdxMapControlOpenStreetMapImageryDataProvider class as a TdxMapControlImageTileProvider object if the ProviderClass property is set to TdxMapControlOpenStreetMapImageryDataProvider.

You need to cast the returned object to the TdxMapControlOpenStreetMapImageryDataProvider class to access all public API members.

#Direct TdxMapControlOpenStreetMapImageryDataProvider Class Reference

The TdxMapControlImageTileProviderClass type references the TdxMapControlOpenStreetMapImageryDataProvider class.

To see the OpenStreetMap tile provider in action, run the Mapping demo in the VCL Demo Center installed with compiled DevExpress demos. Click the Data Providers item in the sidebar and click OpenStreetMap in the Ribbon UI to enable the corresponding provider.

Download: Compiled VCL Demos

Tip

Compiled DevExpress demos ship with source code installed in the Public Documents folder (%Public%) for all users (default). You can find all project and source code files for the Map Control demo in the following folder:

%Public%\Documents\DevExpress VCL Demos\MegaDemos\Product Demos\ExpressMapControl\

#Inheritance

TObject
TPersistent
TcxOwnedPersistent
TdxMapControlImageTileProvider
TdxMapControlOpenStreetMapImageryDataProvider
See Also