Select to view content in your preferred language

HeatMapLayer

754
1
05-09-2013 07:15 PM
LanceCrumbliss
Frequent Contributor
Hello all,

Our client would like for the HeatMapLayer to not recalculate based on zoom extent when changing zoom level. 

For example, if there is a cluster of features that generate a particularly shaped "blob", they would like to be able to zoom in on the blob and have it maintain it's shape and color gradient.  They would still like to be able to adjust intensity.

I've downloaded the source code from Codeplex, but after poking around for a little while, I have not been able to make it behave like they would like.  My guess was that by forcing the HeatMapLayer to always use all of the the features in the collection, the image generated would by what they wanted.  It was a wrong guess, i guess.

Is this possible?  Any help would be appreciated.

Lance
0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor
You might try to recalculate the intensity on event Map.ExtentChanged and to set the intensity to a value proportional to the map scale.
Though I am not sure that will keep the exact same shape and gradient but should not be too far. Worth the try...
0 Kudos