Be sure to include the InfoBox library before using it. That is,
include the following file in a script tag:

http://google-maps-utility-library-v3.googlecode.com/svn/tags/infobox/1.1.5/src/infobox.js

When you attach an InfoBox to the map (with open) it appears on the
map by default. You can then show or hide it with the show() and
hide() functions.

Gary

On May 20, 3:38 am, bertaudmarc <bertaudm...@gmail.com> wrote:
> What is the difference between show and open ?
>
> This code doesn't display the l variable !
>
> l=123;
> ib = new InfoBox(traceOptions);
> ib.open(map, marker);
> ib.setContent = l.toFixed();

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to