Yeah but, how??

i would change the method to:

createMarker(point, html, somethingInHtmlPopup) {
// Creates here a marker etc.

// define onclick and onmouseover events

return marker;
}

and then

marker = createMarker(point, html, someinfo);
        map.addOverlay(marker);

this would work?

and how can i get the point from the adress? thats my big problem.

look at my function please createMarker();

thanks!

On 25 Nov., 12:47, Mike Williams <[email protected]> wrote:
> You're failing to obtain Function Closure on your "marker" variable. Try
> making it local to createMarker(). You can't obtain function closure on
> global variables.
>
> --
> Mike Williamshttp://econym.org.uk/gmap

--

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