On Sep 1, 4:20 pm, Ryan Carman <[email protected]> wrote:
>
> I assume am not defining the maxContent for each marker properly.

That's correct. You need to call the function in the way you have
defined it.

> Sorry to be simple but could you tell me what i did wrong. I'd really
> appreciatte it thanks

You need to call the function something like this
  var marker=createMarker(point,initial_html,max_content)
where initial_html is the text you want to display first, and
max_content the string you want to use for the maxContent view. You
don't need to use variables, you can use real objects like the
following, which would normally all be on one line
  var marker = createMarker(
    new GLatLng(51,0),
    "<b>Maximize me!</b>",
    "<center><iframe ...></iframe></center>"
    );

Those objects get passed in that order to your createMarker function.
**Within the function**, "point" is the GLatLng, "html" is the
"Maximize me" string, and "maxContent" is the iframe definition. You
probably knew that.

Note: in order for the small infoWindow to whatever you pass to your
function, this line within the function
  marker.openInfoWindowHtml("<b>Maximize me!</b>",
needs to be
  marker.openInfoWindowHtml(html,

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