Add a heat map using UriImageProvider

2 posts, 0 answers
  1. Benoit-Charles
    Benoit-Charles avatar
    1 posts
    Member since:
    Jun 2016

    Posted 03 Jun Link to this post



    I'm having trouble trying to add a heat map (calculated with geoloc points) over the telerik RadMap. First, correct me if I'm wrong but there is no option to do that simply by using a component of your library.

    So my idea was to use the InformationLayer to add an image on which I would have calculated the heat map (ex:, unfortunately it does not seems to work and even if it did work, I'm not sure the renderring would work well with the map interraction.

    Can you please provide me solutions on how to add a heatmap simply by using geoloc points?


    Thanks a lot for your help,


    A french user ;)


  2. Martin
    Martin avatar
    1048 posts

    Posted 08 Jun Link to this post

    Hi Benoit-Charles,

    RadMap doesn't have built-in such heatmap visualization. However, you can take a look at the heat map demo which is not exactly the map type you are looking for but you can check if it will work for you.

    About the desired visualization you can try the UriImageProvider as mentioned in this forum title. But in this case, you will need to create different images for the different viewports (location, size and zoom level) and each image should have the proper size and correctly calculated boundaries for the corresponding location and zoom. You can take a look at the UriImageProvider SDK example to see how the provider works.

    Another approach is to use VisualizationLayer (which is the new and improved version of InformationLayer) and add visual elements that represents the heat regions in the layer's Items collection. For example, you can use PointData objects to draw the regions.

    I hope this helps.

    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. DevCraft banner
Back to Top