[OpenLayers-Users] beforefeatureremoved event causes CLASS_NAME is null error

Geo-rge George at muammar.net
Mon May 25 16:36:39 EDT 2009


Dear list,

I am attempting to use the beforefeatureremoved event on a layer.  I must
admit it is not very clear to me which of the following I should use (I am
not sure why the 2nd para is needed anyway).

layer.events.register("beforefeatureremoved", layer, function)
or
layer.events.register("beforefeatureremoved",  layer.events, function)

in either case I get a CLASS_NAME is null or not an object error.

Any help is appreciated.

PS suprised I found nothing on this event in this forum. Has deleting gone
out of fashion ?

Regards
George Mu'ammar
-- 
View this message in context: http://n2.nabble.com/beforefeatureremoved-event-causes-CLASS_NAME-is-null-error-tp2971548p2971548.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list