In all likelihood, you have a problem with your custom marker having  
the wrong GSize dimensions for iconSize and shadowSize. It's tough to  
tell exactly what's going on, though, without a link to the page or  
the actual, problematic code.


Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
http://jgeerdes.blogspot.com
http://jgeerdes.wordpress.com
[email protected]

Unless otherwise noted, any price quotes contained within this  
communication are given in US dollars.

If you're in the Des Moines, IA, area, check out Debra Heights  
Wesleyan Church!

And check out my blog, Adventures in Web Development, at 
http://jgeerdes.blogspot.com 
  !


On May 15, 2009, at 2:53 PM, pgreko wrote:

>
> 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