Big thankyou to Andrew for getting me to the finish line!

I have spent far too long trying to make this work but in the end i
had come too far to give up.

Thanks for your time and patience andrew and i do feel i understand it
a bit better now.

Hopefully one day i will have mastered it well enough to help solve
other peoples problems, it seems like Andrew is alone amongst a sea of
other peoples API problems.

Anywho thanks again,

Ryan

PS: here is the final link, its still very crude at the moment so now
i will just start developing the finish.

http://www.oryanfilms.com/map_test3.html

On Sep 1, 8:28 pm, Andrew Leach <[email protected]> wrote:
> 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