> this is the link of my page for show you my 
> problems.http://www.googlemilano.net/ElencoAttivita.aspx?Categoria=LOCALI&Regi...

> With mozzilla run perfect.

No it doesn't, it reports errors.  Check the maps - not every one has
a marker.  As Larry points out, some of the geocoding fails.

> First problem the maps don t center the marker. (the marker is on the
> left top of the maps).

"top left" issues are about the size of the map when the GMap" object
is built, usually because the div the map is built in has no clear
size. Search this group for 'top left'.

In your case, you HAVE specified the size of the map dive with
style='width:200px;height:125px'
BUT
the div is inside a <table>
AND
you call the CaricaMappa() inline

Different browsers work differently, but in IE when CaricaMappa() is
run the <table> hasn't been completely built.  Even with your style
setting, all elements within the INCOMPLETE table have undefined
sizes.  When the maps API asks the browser what size the div is, it
gets told zero.  Zero size maps are centered at top left.

Since you are using fixed-size maps, you can tell the maps API the
size directly
   var map = new GMap2(document.getElementById(Elemento), { size:new
GSize (200 , 125) } );

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