This is a migrated thread and some comments may be shown as answers.

Map in report ... some example or tutorial ?

2 Answers 286 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 30 Jun 2014, 03:02 PM
Hello guys,

I would like to create a quite simple report with a map and in these map to show several points at coordinates supplied from database. Unfortunately, I am not able to realize this task following the documentation. It just render the map extent, but without markers. I am sure that I am doing something wrong, but I found the documentation a bit confusing, for example the map extent seems to be in WGS84 coordinates, but the Projection property seems to to only the Mercator and from this comes a question in what kind of coordinates should be supplied to Latitude/Longitude properties of Series (property of Map). 

Thanks for any example or other help.

Best regards,

    Robert

2 Answers, 1 is accepted

Sort by
0
Accepted
Ivan Hristov
Telerik team
answered on 01 Jul 2014, 11:23 AM
Hello Robert,

Thank you for pointing out the problems you are having following our documentation articles - we will put an effort into clarifying and enriching the subjects in question.

The coordinates you need to supply to your data points are in decimal degrees defined in the WGS84 datum - the same way you would set them when looking for a location in Google Maps or Bing Maps. You can read about the projection and coordinates in this MSDN article that explains in details how the Bing Maps tiling system works.

For a live example you can check the SalesByRegionDashboard report, which is shipped with the Telerik Reporting installation and shows how to supply the coordinates of your data points without using a location provider. We would advise you to use the MapWizard when creating your map, as shown in the following article: How to: Setup a Map Using the Map Wizard.

If you have further questions, please let us know.

Regards,
Ivan Hristov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Robert
Top achievements
Rank 1
answered on 08 Aug 2014, 12:43 PM
Thanks a lot. I will see the recommended examples.
Tags
General Discussions
Asked by
Robert
Top achievements
Rank 1
Answers by
Ivan Hristov
Telerik team
Robert
Top achievements
Rank 1
Share this question
or