[OpenLayers-Users] 2 loadurl request in parallel

Jorge Gustavo Rocha jgr at di.uminho.pt
Fri Feb 19 09:10:18 EST 2010


Hi Antoni,

Yes, you can make any number of AJAX requests. They are, by definition,
asynchronous. If you do several different requests, and you need to
collect all the results, for example, you need to add some logic, to
know how many requests have already finished, and do something at the
end of the last callback.

Please explain you question a little bit further, to find allow a better
answer. I really don't know what do you want to do.

regards,

jorge

Sex, 2010-02-19 às 14:58 +0100, Vidal, Antoni escreveu:
> Hello list,
> 
>  
> 
> I need to make 2 ajax request at the same time. Is this possible?
> 
>  
> 
> Antoni Vidal
> 
> Unitat d'Aplicacions SIG-WEB
> Institut Cartogràfic de Catalunya
> Parc de Montjuïc, E-08038 Barcelona
> Tel. (+34) 93 567 15 00 (ext. 3228)
> www.icc.cat
> 
>  
> 
>  
> 
>  
> 
> 
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users


-- 
jorge gustavo rocha
departamento de informática
universidade do minho
4710-057 braga
portugal
N 41º33'44,5" W 8º23'40,5"
tel +351 253604470 fax +351 253604471 cel +351 927210173
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: Esta =?ISO-8859-1?Q?=E9?= uma parte de mensagem
 assinada digitalmente
Url : http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100219/341576c3/attachment.bin


More information about the Users mailing list