x = 2;
x = 4;
x will take the value 2 very briefly, but the end result will be seen
as 4.   If you wanted x to be the sum of the two, you'd do something
like
x = 2;
x = x + 4;

Compare with
> document.getElementById("topbar").innerHTML="";
> document.getElementById("topbar").innerHTML=gmarkers[i].html;
> document.getElementById("topbar").innerHTML=gmarkers[i].name;

You'll want to find out how to "add-on" a string to an existing value
in javascript.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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