[OpenLayers-Users] onComplete of dragfeature has old data?

ulao S_K_U_N_X at yahoo.com
Tue Jun 28 15:00:40 EDT 2011


I'm using the onComplete of dragFeature. I noticed that the
geometry.getCentroid() has the old data and not the new location.

I tried a 

function(e) 
	{ e.layer.drawFeature(e);

but that didnt work, how can I get the new location. The pix parm will be my
option if I can not find another way. 

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/onComplete-of-dragfeature-has-old-data-tp6526120p6526120.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list