Map Using DataSet

2 posts, 0 answers
  1. Tim Larson
    Tim Larson avatar
    25 posts
    Member since:
    Sep 2007

    Posted 29 Sep 2014 Link to this post

    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
  2. Ivan Hristov
    Ivan Hristov avatar
    191 posts

    Posted 30 Sep 2014 Link to this post

    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.

    Ivan Hristov

    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.

Back to Top