On Feb 28, 10:16 am, simone man <[email protected]> wrote:
> but why in mozilla I can use the maps correct and in IE no?
> look this why here run in IE an mozilla?

Firefox is more forgiving of that particular javascript error, it
continues to execute your script.  IE stops executing your script, so
none of the markers show up.

I would suggest you add an "if (point)" test to your geocoding
function.

Also, not that as you add more maps it is likely to fail.  Addresses
that are not dynamic (entered by the user), should be geocoded once,
offline, then the resulting coordinates used to plot the markers on
the map.

This discussion on Mike Williams' tutorial may help:
Part 17 Geocoding multiple addresses
http://econym.org.uk/gmap/geomulti.htm

  -- Larry


>
> http://www.googlemilano.net/PaginaPresentazione.aspx?ID=5467
>
> is not a problem because there are many maps in the same page?
>
> 2010/2/28 [email protected] <[email protected]>
>
> > On Feb 28, 5:00 am, "simone.man" <[email protected]> wrote:
> > > I have a problem with internet explore 7 and 8.
> > > In a page of my site I want show 10 different maps with marker calling
> > > a javascript in the top of page.
> > > With mozzilla run perfect. With internet explorer I have many
> > > problems.
> > > First problem the maps don t center the marker. (the marker is on the
> > > left top of the maps).
> > > Second cant use the control for move the maps in left, right, top and
> > > bottom.
>
> > > this is the link of my page for show you my problems.
>
> >http://www.googlemilano.net/ElencoAttivita.aspx?Categoria=LOCALI&Regi...
>
> > > I hope you can help me .. and excuse me for my english.
>
> > > Ask me if you need more details.
>
> > I get a javascript error:
> > 'lat' is null or not an object
> > because the Indirizzo.getLatLng callback function doesn't verify that
> > it succeeded before using the result to create a marker and add it to
> > the map.
>
> > This address "Via Roma 10, Balbiano di Colturano" doesn't return any
> > results (there seem to be at least two with this problem).
>
> > The same errors occur in Firefox.
>
> >  -- Larry
>
> > --
> > 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]<google-maps-api%2Bunsubscribe@ 
> > googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-maps-api?hl=en.

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