javascript - openlayers heatmap shows red lines on map -


i got problems using heatmap-openlayers.js, loaded page default points shows heatmap gradient, when dragged image (map) or moved gradient bottom of image found out have red line on map, it's seems replication of gradient's set of points couldn't figure out why it's happening..

i uploaded sample to: http://hightech-library.com/heatmap

and added bit css see problem on go, if drag image left red line disappear blocking it, , when dragging reappear..

check out source of page , you'll see sample code.

can tell me if i'm doing wrong or how fix it..

i figured out red line were, when drawing heatmap draws points max gradient color offset of 1000 position requested , makes shadow on canvas of these points instead, shadow heatmap see gradient's colors.

when drawing on image fixed color offset of 1000 wasn't enough , when dragged map saw source of shadow "red lines".my solution increase offset , push "red lines" outside canvas.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -