Hello all

I have a GMap2 inside a collection of divs, like this:

<body onload="muestraMapa()">
<div id="wrap">
        <div id="content-wrap">
                <div id="main">
                        <div id="map_canvas" style="width: 700px; height: 
320px;">


the javascript for loading the API:

function muestraMapa()
{
        var xCoord;
    var yCoord;
        var point;
        var idMarcador;
        var descripcionMarador;

    if (GBrowserIsCompatible())
    {
        map = new GMap2(document.getElementById('map_canvas'));
        var longitud = document.getElementById
("{actionForm.longitud}").value;
        var latitud = document.getElementById
("{actionForm.latitud}").value;
        var zoom = document.getElementById("{actionForm.zoom}").value;

                var idPropiedad=document.getElementById
("{actionForm.idPropiedad}").value;

        var center = new GLatLng(latitud, longitud);

        map.addControl(new GMapTypeControl());
        map.addControl(new GLargeMapControl());

                GDownloadUrl("getMarcadoresExtra.jsp?i=" + idPropiedad , 
function
(data, responseCode) {
                        var xml = GXml.parse(data);
                        var markers = 
xml.documentElement.getElementsByTagName("marker");
                        var marcador = new Array(markers.length);
                        for (var i = 0; i < markers.length; i++) {
                                var latlng = new 
GLatLng(parseFloat(markers[i].getAttribute
("latitud")),
                                                                                
parseFloat(markers[i].getAttribute("longitud")));
                                marcador[i] = new GMarker(latlng);
                                if(marcador[i]){
                                        agregaInformacionMarcador(marcador[i] , 
markers[i].getAttribute
("descripcion"));
                                        map.addOverlay(marcador[i]);
                                }
                        }
                });

        map.setCenter(center, parseInt(zoom));
        cargaReferencia("{actionForm.referencias}");
        marker = new GMarker(center, {draggable: false});
        marker.openInfoWindowHtml("Las referencias son: <br>
"+cargaReferencia("{actionForm.referencias}") );
        GEvent.addListener(marker, "click", function()
{marker.openInfoWindowHtml(
            "Las referencias son: <br> "+cargaReferencia
("{actionForm.referencias}") );});
        map.addOverlay(marker);

                function agregaInformacionMarcador(miMarcador,texto){
                        GEvent.addListener(miMarcador, "click",
                                function() 
{miMarcador.openInfoWindowHtml(texto);});
                }
    }
}

The output is showing fine, except for the controls images that
somehow have lost their transparency, as you can see here:

http://img.photobucket.com/albums/v162/c00000/gmaps.png

Does anyone know how to get images back to normal display?

Thanks in advance
--~--~---------~--~----~------------~-------~--~----~
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