On Dec 19, 9:49 am, "M.Nicoletti" <[email protected]> wrote:>
> The adress are:
>
> http://www.oct-tuning.org/karte/vorschau/vorschau.html.

Or even 
http://www.oct-tuning.org/karte/outputsearch.html?coordinaten=47.4254848,9.6135051

It is as I suggested. You are creating the content of the side bar and
never using it.

Your code does this:

side_bar_html=""; // this is global
function onLoad() {
  var map = new GMap2(document.getElementById("map"));
  map.addControl(new GSmallMapControl());
  map.addControl(new GMapTypeControl());
  map.setCenter(new GLatLng(lat,long) ,10);
  // put the assembled side_bar_html contents into the side_bar div
  document.getElementById("side_bar").innerHTML = side_bar_html;
  GDownloadUrl("circle.php", function(data) {
    var xml = GXml.parse(data);
    ...
    var marker = createMarker(...)
    }
  }

You need to put
  document.getElementById("side_bar").innerHTML = side_bar_html;
at the end of the GDownloadUrl callback function, just before line
104:
 });

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