Olá pessoal, é o seguinte, quero criar um link com um identificador do
marcador, e quando este link for clicado ele fara a mesam coisa que
este mapa.

http://googlemapsbook.com/chapter6/nowLoadingBetter/


Sou iniciante em javascript, e gostaria de algo mais simples, apenas
com este
evendo onclick no link, abrindo o marcador...

Esta é a estrutura do meu xml que é criado...


        GDownloadUrl("marker_xml.php", function(data) {
          var xml = GXml.parse(data);
          var markers = xml.documentElement.getElementsByTagName
("marker");
          for (var i = 0; i < markers.length; i++) {
            var name = markers[i].getAttribute("name");

       var point = new GLatLng(parseFloat(markers[i].getAttribute
("lat")),
           parseFloat(markers[i].getAttribute("lng")));
        var desc = markers[i].getAttribute("desc");
        var type = "Sede";

        var cep = markers[i].getAttribute("cep");
       var sala = markers[i].getAttribute("sala");
        var numero = markers[i].getAttribute("numero");
        var complemento = markers[i].getAttribute("complemento");
        var cidade = markers[i].getAttribute("cidade");
        var rua = markers[i].getAttribute("rua");
        var telefone = markers[i].getAttribute("telefone");
        var regional = markers[i].getAttribute("regional");
        var coordenador = markers[i].getAttribute("coordenador");
       var marker = createMarker(point, name, desc, type, cep,
sala,numero, complemento, cidade, rua, telefone, regional,
coordenador);
       map.addOverlay(marker);
          }
        });
      }
    }



Alguma solução?:


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to