Heat Map Color Gradients

Note

Bing Maps Web Control SDK retirement

Bing Maps Web Control SDK is deprecated and will be retired. Free (Basic) account customers can continue to use Bing Maps Web Control SDK until June 30th, 2025. Enterprise account customers can continue to use Bing Maps Web Control SDK until June 30th, 2028. To avoid service disruptions, all implementations using Bing Maps Web Control SDK will need to be updated to use Azure Maps Web SDK by the retirement date that applies to your Bing Maps for Enterprise account type. For detailed migration guidance, see Migrate Bing Maps Enterprise applications to Azure Maps with GitHub Copilot.

Azure Maps is Microsoft's next-generation maps and geospatial services for developers. Azure Maps has many of the same features as Bing Maps for Enterprise, and more. To get started with Azure Maps, create a free Azure subscription and an Azure Maps account. For more information about azure Maps, see Azure Maps Documentation. For migration guidance, see Bing Maps Migration Overview.

The color gradient heat map option is used to colorize the intensity of the heatmap. The following are some examples of color gradients that you may find useful.

Description Value Gradient scale
Black Aqua White {
  '0': 'Black',
  '0.5': 'Aqua',
  '1': 'White'
}
Black Aqua White Gradient
Blue Red {
  '0.0': 'blue',
  '1': 'red'
}
Blue Red Gradient
Deep Sea {
  '0.0': 'rgb(0, 0, 0)',
  '0.6': 'rgb(24, 53, 103)',
  '0.75': 'rgb(46, 100, 158)',
  '0.9': 'rgb(23, 173, 203)',
  '1.0': 'rgb(0, 250, 250)'
}
Deep Sea Gradient
Color Spectrum {
  '0': 'Navy',
  '0.25': 'Blue',
  '0.5': 'Green',
  '0.75': 'Yellow',
  '1': 'Red'
}
Color Spectrum Gradient
Incandescent {
  '0': 'Black',
  '0.33': 'DarkRed',
  '0.66': 'Yellow',
  '1': 'White'
}
Incandescent Gradient
Heated Metal {
  '0': 'Black',
  '0.4': 'Purple',
  '0.6': 'Red',
  '0.8': 'Yellow',
  '1': 'White'
}
Heated Metal Gradient
Sunrise {
  '0': 'Red',
  '0.66': 'Yellow',
  '1': 'White'
}
Sunrise Gradient
Stepped Colors {
  '0': 'Navy', '0.25': 'Navy',
  '0.26': 'Green',
  '0.5': 'Green',
  '0.51': 'Yellow',
  '0.75': 'Yellow',
  '0.76': 'Red',
  '1': 'Red'
}
Stepped Colors Gradient
Visible Spectrum (Default) {
  '0.00': 'rgb(255,0,255)',
  '0.25': 'rgb(0,0,255)',
  '0.50': 'rgb(0,255,0)',
  '0.75': 'rgb(255,255,0)',
  '1.00': 'rgb(255,0,0)'
}
Visible Spectrum Gradient