[OpenLayers-Dev] BUG: OpenLayers.LonLat.Lon - only with IE 6

Christopher Schmidt crschmidt at metacarta.com
Wed Mar 14 18:58:10 EDT 2007


On Wed, Mar 14, 2007 at 09:20:14PM -0000, Richard Thurbin wrote:
> Sorry, I don't know if this is the right way to use this... I would like to
> report a bug I have found when using the OpenLayers API.
> 
> I have searched the FAQ, Wiki engine, current tickets, Google and have not
> found any reference to this.

I don't have an easy answer for you, but typically the best way to
register map events is using the map.events.register() call, as in the
click.html example:

  http://openlayers.org/dev/examples/click.html

Erik's expressed an interest in this, and I've already pointed him to
the demo which displays the problem.

So, in the meantime, you can change your code to use map.events.register
as in click.html instead of OpenLayers.Event.observe.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Dev mailing list