Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

197
Views
google maps heatmap shows blurred green instead specific red areas

I'm using the original Google Maps heatmap example and it works fine.

I took it from this page: https://developers.google.com/maps/documentation/javascript/examples/layer-heatmap#maps_layer_heatmap-javascript

The problem is after applying my points. I just added 2k new points the sameway as the example:

    new google.maps.LatLng(xxx, xxx),

Instead showing the certain red areas, it becomes a unique big blurred green area.

Example at: https://jsfiddle.net/d4xerj7L/2/

Am I doing something wrong?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Try setting a maxIntensity.

heatmap = new google.maps.visualization.HeatmapLayer({
    data: getPoints(),
    map: map,
    maxIntensity: 4, // <---  added this
  });

https://jsfiddle.net/d4xerj7L/2/

enter image description here

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!