Thanks

I've used XMLHttpRequest

Trachy

On 8 juil, 01:36, Chad Killingsworth
<[email protected]> wrote:
> Try looking at this 
> example:http://code.google.com/apis/maps/documentation/javascript/demogallery...
>
> Chad Killingsworth
>
> On Jul 7, 6:41 am,Trachy<[email protected]> wrote:
>
>
>
> > Hello,
>
> > I try to convert my Google Maps V2 application in a GM V3 one.
> > In V2, I could retrieve easily data from xml with GXmlHttp.
>
> > It looked like :
>
> > // *******************************************************************
> > function recup_traitement_groupe_station(fichier) {
>
> >         stations=[];
>
> >         var request = GXmlHttp.create();
> >         request.open("GET", fichier, true);
> >         request.onreadystatechange = function() {
> >         // si les data ont été chargées, le readystate passe à 4
> >         if (request.readyState == 4) {
> >         var xmlDoc = request.responseXML;
>
> >         // Get markers array
>
> >         var markers =
> > xmlDoc.documentElement.getElementsByTagName("marker");
> >         nb_station= markers.length;
>
> >         for (k = 0; k < markers.length; k++) {
>
> >         stations[k] = new Station();
>
> >         // Get marker attributes
>
> >         stations[classe][k].code =
> > search_real_char(markers[k].getAttribute("code"));
> >         stations[classe][k].libelle =
> > search_real_char(markers[k].getAttribute("libelle"));}
>
> > traitement_groupe_station(nb_station);}}
>
> > request.send(null);
> > return stations;}
>
> > // *******************************************************************
>
> > How can I do in V3,  GXmlHttp doesn't exist ?
>
> > Thanks
>
> >Trachy- Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to