<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div class="" style=""><span class="" style="">When I call a popup in a vector layer, I get the following error message in the Chrome console:</span></div><div class="" style=""></div><div class="" style=""> <span style="box-sizing: border-box; color: rgb(255, 0, 0); font-family: Menlo, monospace; font-size: 11px; line-height: 12px; white-space: pre-wrap" class="">Uncaught TypeError: Cannot read property 'w' of null</span><span style="color: rgb(255, 0, 0); font-family: Menlo, monospace; font-size: 11px; line-height: 12px; white-space: pre-wrap" class=""> </span></div><div class="" style="">
<div class="" style=""><br></div><div class="" style="">And this in Firefox Console:</div><div class="" style="">TypeError: this.size is null<br class="" style=""></div><div class="" style=""><br></div><div class="" style="">Using the debug version of the Openlayer, I detected that the problem is in panIntoView function, in this line: </div><div class="" style="">  if ((origTL.x this.size.w +)> (mapSize.w - this.map.paddingForPopups.right)) {</div><div class="" style=""><br class="" style=""></div><div class="" style="">To rule out problems with the measures defined in percentage, put all measurements in pixels, and yet I still have problems. The application is available at: http://www.klam.com.br/clientes/travessia/. To reproduce the error click on the icon with the "i", click on the word "municipios" and click somewhere on the map.<br class="" style=""></div><div class="" style="">I thank the group if anyone can give any suggestion.<br
 class="" style=""></div>
Att.;<br class="" style="">                     Erivelton M. Silva</div></div></body></html>