Wasn't it shredder who wrote:
>
>Yes I see and you think the IE 6.0 fails complete because this wrong
>encoded character?
>
>I mean it's "only" a wrong display, but the map should be constructed
>from the geocoordinates in the mysql database. You know what I mean?
>The geocoding has taken place before and independent from the call of
>the map. All the map script should do is to take the coordinates from
>the database and render the map (ok and to show the info window).

I don't think so. The map is initially centred like this:
  map.setCenter(new GLatLng(0,0),0, G_HYBRID_MAP);

If it successfully reads the XML file, then it build bounds from the
points that it finds in the data and recentres the map like this
  map.setCenter(bounds.getCenter());

XML files are treated as all-or-nothing. If the syntax check fails, then
you get nothing. The syntax check in FF is more tolerant than that in
MSIE with regards to character encoding, so it accepts the whole file
and the map gets recentred.

MSIE requires that every character in the XML be consistent with the
character encoding that you specify in the header. Get one single
failure, and the whole file is rejected and the map stays centred at
(0,0).

Try pasting
  http://mobil-im-rollstuhl.de/geocode_genxml.php
into your MSIE address bar.

-- 
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team


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