Perfect, thanks João!

I changed 
        var lonlat = this.getCenter();
        
to
        var lonlat = this.getCenter().clone();
        
And it now works as expected - my code went on to do a transform on the
lonlat variable and hence the issues pertaining to the global getcenter that
you mention!

Roger

-- 
View this message in context: 
http://n2.nabble.com/getCenter%28%29-in-moveend-handler-problems-tp2296931p2297062.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to