> google.maps.event.addListener(marker, 'click', function() {
> infoWindow.setContent(bubble);
Here 'bubble' is referenced
> var bubble = "<span style='font-weight:bold'>" + street +
Here 'bubble' is defined.
It would be good practice to define 'bubble' _before_ referencing it.
It's only a case of changing the order of statements.
In particular, different browsers are likely to behave differently in
this kind of ambiguous case.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.