Thanks, It was pretty apparent that was happening... I just hoped there was a little easier way to go about it. Any quick tip on how to snag what marker was clicked from the function?
Brian On Apr 27, 1:14 am, Rossko <[email protected]> wrote: > > marker.bindInfoWindow(infoDiv,{onOpenFn: markerHit(marker_id)}); > > This will evaluate markerHit(x) at the time you call bindInfoWindow, > and use the _results_ as the onOpenFn. > > Try > marker.bindInfoWindow(infoDiv,{onOpenFn: markerHit}); > which will instead use the function. > You'll have to modify markerHit to determine which marker was clicked. > > -- > 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=en. -- 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.
