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

RadHeatMap combined with RadMap ? Is it possible

2 Answers 94 Views
Map
This is a migrated thread and some comments may be shown as answers.
Ian
Top achievements
Rank 1
Ian asked on 26 Jul 2012, 02:20 AM
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 Answers, 1 is accepted

Sort by
0
Ian
Top achievements
Rank 1
answered on 27 Jul 2012, 07:17 AM
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
http://i.msdn.microsoft.com/dynimg/IC96238.jpg

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.
0
Andrey
Telerik team
answered on 30 Jul 2012, 07:06 AM
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.


Regards,

Andrey Murzov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Map
Asked by
Ian
Top achievements
Rank 1
Answers by
Ian
Top achievements
Rank 1
Andrey
Telerik team
Share this question
or