[OpenLayers-Users] Register function callback click on map

Sveen Atle Frenvik (Geomatikk IKT) Atle.Frenvik.Sveen at geomatikk.no
Thu Mar 10 09:46:06 EST 2011


why not:

map.events.register("click", map, function(e){ callFunction1(); callFunction2(); });

?

On 03/10/2011 03:30 PM, Luca Santaniello wrote: 

	Hi all, 
	
	I need register many function to click event in different time... for example:
	
	map.events.register("click", map, function(e){ callFunction1() });
	map.events.register("click", map, function(e){ callFunction2() });
	
	Is it possible?
	
	Thanks
	
	-- 
	Luca Santaniello
	email: lsantaniello at cidsoftware.it 
	phone: +39 3470373994
	skype: luca.santaniello
	msn: luketto81 at hotmail.com 
	
	
	_______________________________________________
	Users mailing list
	Users at lists.osgeo.org
	http://lists.osgeo.org/mailman/listinfo/openlayers-users



-- 
Atle Frenvik Sveen
Utvikler
Geomatikk IKT AS
tlf: 45 27 86 89
atle.frenvik.sveen at geomatikk.no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110310/b380ba24/attachment.html


More information about the Users mailing list