Hello,
I added the google map on my website using ajax script and everything
works properly. There is a small "anomaly": if I insert a custom
marker on the map in google map, when I go to see the map on my site
the custom marker will appear grainy and not with the correct
dimensions.
Someone knows how to solve this problem?
Thank you

Place the code:

<html>
<head>
<script type="text/javascript" src="http://maps.google.com/maps?
file=api&amp;v=2&amp;key=XXXXXXXXXXXXX" ></script>

                  <script type="text/javascript">
                        //<![CDATA[

                        currentdata=new Date();
                        var datatime=currentdata.getTime();
                        var map;
                        var geoXml = new 
GGeoXml("http://mydomain.net/map/map.kml";);

                function load() {
                  if (GBrowserIsCompatible()) {

                    map = new Object ();
                        map = new GMap2(document.getElementById("map"));
                        map.addControl(new GLargeMapControl());
                        map.setCenter(new GLatLng(XX.XXXXXX,YY.YYYYYY), Z);
                        map.addControl(new GLargeMapControl());
                        map.addOverlay(geoXml);

                  }

                }
                        //]]>
        </script>

</head>
<body onload="load()" onunload="GUnload()">
<div id="map" style="width: 480px; height: 460px"></div>
</body>
</html>

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

Reply via email to