RadHeatMap combined with RadMap ? Is it possible

3 posts, 0 answers
  1. Ian
    Ian avatar
    23 posts
    Member since:
    Jun 2011

    Posted 25 Jul 2012 Link to this post

    Hi telerik, just a quick rundown of what i want to achieve

    1) Divide the worldmap into grids (lets say 100 by 100 pixel wide)
    2) Get number of nodes for each grid and apply a heatmap overlay (1 - light red, 100 dark red for example)
    3) For each grid allow a user to click/zoom into that location at which point the heatmap dissapears and you now show all the map pinpoints for that region

    So is this possible ?
  2. Ian
    Ian avatar
    23 posts
    Member since:
    Jun 2011

    Posted 27 Jul 2012 Link to this post

    Just as a follow up, ignoring the heatmap yet. I was just wondering how todo the following

    1) Divide the entire map into squares (grids) of lat/long and possibly draw lines at the border (giving a grid overlay type effect).

    Looking at the documentation for the dynamic layer (what i use)

    Are ZoomGrid useful doing this ? (i.e dividing the map into grids and how can i use them ?). I dont quiet understand how zoomgrids work.

    I kind of want it abit like the follwing

    Taken from this blog : http://blogs.microsoft.co.il/blogs/shair/archive/2012/06/24/how-to-bing-maps-custom-tile-overlay-google-maps.aspx

    The ability to access the map tiles and put them into a collection of tiles.
  3. Andrey
    Andrey avatar
    1681 posts

    Posted 30 Jul 2012 Link to this post

    Hello Ian,

    From the side of the RadMap control I don’t see any problems to show control with fixed size inside the information layer. I also think that this is not a problem to create data for RadHeatMap. But there are few limitations on the RadHeatMap control. This is what I've got from my colleague who is working on the RadHeatMap control:

    It is not possible to set a fixed size for the cell of the HeatMap. The HeatMap checks how many rows and columns are there and how much is its size and based on these it calculates the cell’s width and height. However, if you set the size of the HeatMap to be 100x100 and you have 10 rows and 10 columns this will surely result in each cell having 10x10 size (provided we are not showing any labels).

    Currently we have not implemented a CellClicked event, but I am sure that if you know how many rows and columns you have loaded, you can determine over which cell is the mouse when the MouseButtonDown event is raised.


    Andrey Murzov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top