<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<br>I tried Firefox, ie 9 , safari , and chrome, and I get the same result in all of them.<div>I added a single point using the heatmap script and without adding the ext-base.js and I get the right gradients of colours, from blue to red. But as soon as I add the ext-base.js the points are shown in black</div><div><br></div><div><br><div><div id="SkyDrivePlaceholder"></div>> Date: Tue, 19 Jun 2012 20:09:40 -0400<br>> Subject: Re: {SpamScore: ssss} [Users] GeoExt breaks OpenLayers Heatmap<br>> From: dan@inlet.geol.sc.edu<br>> To: japr94@hotmail.com<br>> CC: users@geoext.org<br>> <br>> What browser are you using. It seems to work in Firefox, or at least I am<br>> not seeing any errors.<br>> <br>> Dan<br>> ><br>> > Hi all,<br>> > I'm using GeoExt to create a tree node structure for my layers, and I'm<br>> > using the following heatmap script:<br>> > http://www.websitedev.de/temp/openlayers-heatmap-layer.htmlThe heatmap<br>> > functionality breaks in my application when I add this script<br>> > /ext-3.4.0/adapter/ext/ext-base-debug.js", without making any other<br>> > changes to my code.<br>> ><br>> > It seems that the points are displaying correctly, is just the colour that<br>> > is not showing properly. Instead of showing the colours, everything is<br>> > displayed in black with the correct intensity.This is the error that I'm<br>> > getting:<br>> > Uncaught TypeError: Cannot read property 'x' of null<br>> > OpenLayers.js:516OpenLayers.Map.OpenLayers.Class.getPixelFromLonLatOpenLayers.js:516OpenLayers.Map.OpenLayers.Class.getLayerPxFromLonLatOpenLayers.js:519Heatmap.Layer.OpenLayers.Class.moveToHeatmap.js:252OpenLayers.Map.OpenLayers.Class.moveToOpenLayers.js:498OpenLayers.Map.OpenLayers.Class.setCenterOpenLayers.js:473OpenLayers.Map.OpenLayers.Class.updateSizeOpenLayers.js:464(anonymous<br>> > function)<br>> ><br>> > The line in the heatmap.js that is pointed in the error list does this<br>> > var pos = this.map.getLayerPxFromLonLat(src.lonlat);var x = pos.x - rad +<br>> > offsetX;var y = pos.y - rad + offsetY;<br>> ><br>> > Any idea of what is causing this problem?<br>> > Thanks in advance,<br>> > Julia<br>> ><br>> >                                                                                       _______________________________________________<br>> > Users mailing list<br>> > Users@geoext.org<br>> > http://www.geoext.org/cgi-bin/mailman/listinfo/users<br>> ><br>> <br>> <br></div></div>                                            </div></body>
</html>