Hmm, think your question belongs to basic Javascript and not to the
Maps API.

Your createMarker() function expects four arguments:

function createMarker(point, i, City, State)

namely: point, i, City, State (exactly in this order and although i
isn't used).

And you're passing only the first argument to the function:

map.addOverlay(createMarker(latlng));




On Nov 20, 6:27 am, Walter <[email protected]> wrote:
> Thanks Ralph, that was fast.
>
> I tried the code you suggested in a variety of ways with no luck. I
> removed the label variable.
>
> Where do you suggest I "stick" this code. I'm confused...it doesn't
> fit my code structure.
>
> Walt
>
> On Nov 19, 10:02 pm, Ralph Ames <[email protected]> wrote:
>
> > This might help
>
> > var marker = createMarker(point,label,html);
> >  map.addOverlay(marker);
>
> > Ralph
> > -www.easypagez.com/maps/map_index.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 
> > athttp://groups.google.com/group/google-maps-api?hl=.

--

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


Reply via email to