id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	state
1220	conflict between addlayer and loadstart event	bartvde		"Currently the addlayer event is triggered in Map.js at the end of the function, after redraw has already been called on the layer.

This means that code listening for addlayer events (like the LoadingPanel Control) can never in time register for loadstart events on that layer. It will always be too late and will only get in the loadend event.

Is is acceptable to fire the addlayer event a bit earlier in the function, before the if (layer.isBaseLayer) line? Any other solution?"	bug	closed	minor	2.6 Release	Map	2.5	fixed			Complete
