[OpenLayers-Users] getCenter() in moveend handler problems
brancusi
roger.moffatt at gmail.com
Mon Feb 9 07:59:01 EST 2009
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.
More information about the Users
mailing list