Set Up a Map Manually
Environment
| Product Version | All | |
| Product | Progress® Telerik® Reporting | Map Report Item |
Description
How can I manually set up a Map report item without using the Map Wizard?
Solution
The suggested implementation is applicable when using the Telerik Visual Studio Report Designer tool.
- Open the Visual Studio toolbox. From the Telerik Reporting tab, select the Map report item.
- Click the design surface where you want to locate the upper-left corner of the Map. The Map report item is initialized on the selected design surface with default values for its
IProjectionandITileProvider. - Set your data source to one of the available data source components.
- Create a
SeriesGroupand set the appropriate measure property, that is, Size for the PointMapSeries, to an expression that will evaluate to a scalar value. -
Set up the geographical coordinates of your data points.
If you want to use a geocoding service to obtain geographical coordinates by addresses from your data source, configure the location providers and the
GeoLocationMapGroup:Open the
PropertyGrid.Create a
GeoLocationGroupthat will provide request information to a location provider.Select a location provider that will be used to geocode the geographical coordinates by the requests supplied from the
GeoLocationGroup.
If your data source can provide geographical coordinates for the data points, set the Series
LatitudeandLongitudeto the appropriate data source fields.