Thank you Rossko.  I have a strong feeling you have guided me in the
right direction, and I surely will try to follow your instructions.
The reason there is no evidence of any attempt  of my doing this in my
map is I see other people post their code even with it having a
problem and I assume that takes even more effort for someone that
knows what they are doing to help them even when there may be problems
with their code other then what they are trying to do, so I figured
I'd post a map that is working without any other possible problems
such as a missing ; or something that just delays the fix and then
what I need to add, change or whatever is faster to recognize.  I go
through lots of test map pages so that I don't mess up what I already
have.

On Oct 19, 6:47 pm, Rossko <[EMAIL PROTECTED]> wrote:
> With all due respect, this is quite an easy task so it's a chance to
> sharpen up your skills.
>
> In your code, you've got examples of how to set up some variables for
> each marker in turn.
>
> So, make one called say tooltip for each marker, containing the text
> you want.  Just text for the simple tooltips, don't complicate it with
> html tags like <bold> or anything.
>
> Referring to Mike's tutorial, the basic method to create a tooltip is
> -
>   new GMarker(point, {title:"My House"});
> So you need to add this functionality to your existing marker creation
> code, which already does a few other things.
>
> Your marker creation code is wrapped up in a function called
> createMarker, to which you pass several parameters like
>   createMarker(point, content1, content2, content3, tab1, tab2,
> tab3,iconStr)
> So, pass another parameter to it by adding one to the end, call it say
> tiptext.
> Within that function you already have the line
>  var marker = new GMarker(point, {icon: icon});
> so you need to modify that line to add another option, for title.
> Look again at Mike's tutorial to see where.
> Remember that instead of the text "My House" you want to use the
> variable that is passed into createMarker as tiptext.
>
> Now go back to every one of your marker data chunks, and modify each
> call of
>    var marker = createMarker(point, content1, content2, content3,
> tab1, tab2, tab3,iconcolor);
> to add an extra parameter on the end.
> The variable you need to tag onto the end is the one that you defined
> for each marker - tooltip was suggested earlier.
>
> Now every time you run createMarker, it will be handed that string to
> use as its internal variable, tiptext.
--~--~---------~--~----~------------~-------~--~----~
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