I register at t0 first function and then, if operation is called, I must
register second function too....
I solve it with 2 same row:
map.events.register|("click", map, function(e)|{ callFunction1() });
map.events.register|("click", map, function(e)|{ callFunction2() });
It run!
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:[email protected]
phone: +39 3470373994
skype: luca.santaniello
msn:[email protected]
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users
--
Atle Frenvik Sveen
Utvikler
Geomatikk IKT AS
tlf: 45 27 86 89
[email protected]
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users
--
Luca Santaniello
email: [email protected]
phone: +39 3470373994
skype: luca.santaniello
msn: [email protected]
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users