[OpenLayers-Users] getLonLatFromPixel in IE

Luís de Sousa luis.a.de.sousa at gmail.com
Tue May 25 09:17:08 EDT 2010


Hi Frank,

Thank you for your help, but the problem isn't registering the listener, but
the argument IE is passing to it. The object with which the showCoords
function is invoked seems to null, so the .xy property generates an error.

Thanks,

Luís


On Tue, May 25, 2010 at 12:17 PM, Frank Broniewski <brfr at metrico.lu> wrote:

> Hi,
>
> I use
> map = new OpenLayers.Map(map_div);
> ...
> map.events.register("click", map, showCoords);
>
> where showCoords the function for display is. Alternatively see
> http://dev.openlayers.org/releases/OpenLayers-2.9.1/examples/events.html
> for an alternate example
>
>
> Frank
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100525/4fa83c27/attachment.html


More information about the Users mailing list