Thanks, Bruce for the responses.

i respond to your answer:

1.- If i put a doctype, the google maps doesn't show properly.... only a 
thin image....
2.- I can solve the point 1....
3.- ....
4.- It's normal... it's a route that start and ends at the same point....
5.- Yes, and sometimes the route can have more than 3000 points... are 
stored from GPS devices.... EGeoXml is the fastest way to do.... and i don't 
know anyway to do an optimization.... i can't erase points....
6.- You referer to the last script? I can't! It must be executed when at the 
end of the page...

But the question is.... why sometimes the execution is good and another 
times no?

What a "unknown error" ever in the same place?

Thanks!

----- Original Message ----- 
From: "Bruce Van Allen" <[email protected]>
To: "Google Maps API" <[email protected]>
Sent: Sunday, May 24, 2009 6:37 PM
Subject: Re: Strange error on main.js


>
> I get erratic behavior in Safari 3.2.3. Sometimes the page only shows
> a small map of the world in two tiles at the ppoer left.
>
> No Javascript errors, but the HTML needs some work.
>
> Here are some things you might look at:
>
> 1. The page has no DOCTYPE description. This should be at the very
> start of the document, no whitespace before it.
>
> 2. The page has a mixture of HTML and XHTML markup.
>
> 3. After you decide which DOCTYPE, run an HTML syntax checker on the
> page.
>
> 3. To make the "Carregant mapa, esperi si us plau..." message appear,
> the page creates a marker, attaches a tooltip to it with this message,
> and then shows the tooltip when the page first opens, while waiting
> for the KML file to be parsed. But the script doesn't add this marker
> as an overlay to the map. Without looking at the Maps API internals, I
> don't know if this could cause problems. But you might try overlaying
> that marker to the map, to see whether that helps the map consistently
> load. If that helps, you could use a different icon for that marker,
> perhaps one that is 1px x 1px , or transparent, (& no shadow).
>
> 4. The script places two markers on the map, for the start and end of
> the trail. As it is now, those two markers are at exactly the same
> spot on the map -- you can tell because their shadow is extra dark.
> This isn't a problem for the Maps API, but it doesn't help your users.
> I imagine this will change as the site is developed further...
>
> 5. The KML file has more than 2000 coordinate points for the trail. Be
> sure to read the documentation of the parser (EGeoXml) about
> optimizing performance with many points.
>
> 6. You might try moving the script to the <head> section of the page.
>
> HTH
> > 


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