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

Map Using DataSet

1 Answer 68 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tim Larson
Top achievements
Rank 1
Tim Larson asked on 29 Sep 2014, 01:15 PM
I need to know how to create a map manually with a dataset.  I need to create a pin for the supplier of one color and then a different color pin for the customers.  I also need to be able and create a radius of 50 miles to the supplier.  The users will select different customers so I need to be able to dynamically center the map based on the customer coordinates.
If you can please supply an example of how I could do this.

Thanks -Tim

1 Answer, 1 is accepted

Sort by
0
Ivan Hristov
Telerik team
answered on 30 Sep 2014, 11:23 AM
Hello Tim,

Your scenario is not entirely supported by our Map item, mostly because it involves functionalities that are typical for a mapping application, not for a reporting one. The Map is a data-driven item and its purpose is to display aggregated data over a geographical extent using bubbles, bar charts and pie charts as data points. Please note that the data points sizes are defined in units like pixels, inches, millimeters, etc. and they are not dependent on the current map scale, which is one of your requirements.

Also we currently do not support custom image markers, but this feature is logged in our system and will be developed in a subsequent release of Telerik Reporting.

However, we have prepared a simple example that is close to your scenario and shows how such a map can be created. Please note that the attached example uses a Location Provider so you need a valid key in order to run it. We will be glad if you take a look at the attached .trdx report and let us know if you have further questions.

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.

 
Tags
General Discussions
Asked by
Tim Larson
Top achievements
Rank 1
Answers by
Ivan Hristov
Telerik team
Share this question
or