Chris is right, you can build your own synchronous ajax request using OpenLayers.Ajax.request given some specific arguments. I did use already in the vectorSymbols sandbox.
However, you should be aware that the Ajax handler needs to be updated because there are some issues with the synchronous mode, though not blocking. Regards, Pierre On Dec 20, 2007 7:34 AM, OpenLayers <[EMAIL PROTECTED]> wrote: > #1224: loadURL does not support synchronous requests. patch attached. > -------------------------------+-------------------------------------------- > Reporter: rdewit | Owner: > Type: feature | Status: new > Priority: minor | Milestone: 2.6 Release > Component: general | Version: SVN > Resolution: | Keywords: > State: Needs Discussion | > -------------------------------+-------------------------------------------- > Comment (by rdewit): > > Replying to [comment:1 crschmidt]: > > In general, loadURL is designed to be the minimal wrapper around > Ajax.Request. If we add more options to it, we're just making it the same > as Ajax.Request. Why not just use Ajax.Request? > For advanced parsing of KML we will need to retrieve external URLs and > will have to do that synchronised. > > -- > Ticket URL: <http://trac.openlayers.org/ticket/1224#comment:2> > > OpenLayers <http://openlayers.org/> > A free AJAX map viewer > _______________________________________________ > Trac mailing list > [EMAIL PROTECTED] > http://openlayers.org/mailman/listinfo/trac > _______________________________________________ Dev mailing list [email protected] http://openlayers.org/mailman/listinfo/dev
