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

Richard Thurbin richard at cloudamber.com
Wed Mar 14 19:05:23 EDT 2007


Thank you very much Christopher. It now works brilliantly.

Thank you very much also to Erik who gave me some helpful suggestions. 

I will try and dig out where I got the tutorial from so it can be updated.

Regards,
Richard Thurbin    
Mobile: +44 7917 704 145
VOIP:   +44 8458 905 299
Fax:    +44 8700 518 913
Email:  richard.thurbin at cloudamber.com

Cloud Amber Research and Development
Amber House
Brockley Road
Elsworth
Cambridge
CB23 4JS
United Kingdom

http://www.cloudamber.com
http://www.carboncalculator.info
http://www.qbust.info 

-----Original Message-----
From: Christopher Schmidt [mailto:crschmidt at metacarta.com] 
Sent: 14 March 2007 22:58
To: Richard Thurbin
Cc: dev at openlayers.org
Subject: Re: [OpenLayers-Dev] BUG: OpenLayers.LonLat.Lon - only with IE 6

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