[OpenLayers-Users] Uncaught TypeError: Cannot read property 'w' of null

Juan Jesús Cremades Monserrat relicary at gmail.com
Wed Jan 25 08:36:07 EST 2012


Hi,

I have a map which returns some data in a PopUp when the user clisk over
it. The problem is that when the click is in one area outside the map, I
obtain the next error:

Uncaught TypeError: Cannot read property 'w' of null


var mapSize = this.map.getSize(); in "Popup.js" at the API returns
'undefined' type. Exists some meaning to catch this error? Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120125/72d226a4/attachment.html


More information about the Users mailing list