On Jul 14, 2:11 pm, William <[email protected]> wrote: > Thanks for the response > > So basically the content inside the setContent can only be a string of > characters?
That is not what the documentation says: http://code.google.com/apis/maps/documentation/javascript/reference.html#InfoWindow setContent(content:string|Node) None This can be an HTML element, a plain-text string, or a string containing HTML. The InfoWindow will be sized according to the content. To set an explicit size for the content, set content to be a HTML element with that size. -- Larry > This example might work but I have like 15 markers and I > want to keep all the marker content and generation on a separate .js > because the actual page is on a template and it would be hard to find > a spot to declare all that content somewhere in there. -- 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.
