Hmm...
here is the whole code:
http://web223.sv1.inetrobots.com/meinpolo/
the method's name is: createMarker
i think the problem is here:
geocoder.getLatLng(adresse,
function(point)
{
...
}
how can i get the point from the adress??
i have it now with this geocoder.getLatLng(adresse,function(point) {/
*something*/});
i think i have to change the method to a returner... not?
On 25 Nov., 11:20, Andrew Leach <[email protected]> wrote:
> On Nov 25, 9:54 am, Emre Avsar <[email protected]> wrote:
>
>
>
> > i had a createMarker-method which created markers in the method and
> > did a map.addOverlay(marker); directly in the method.
>
> > Now i want to add a onmouseover-event... The problem is, when i paste
> > the mouseover-code:
>
> > GEvent.addListener(marker,"mouseover", function() {
> > marker.openInfoWindowHtml(littleHtml);
> > });
>
> > Then my map only show me on mouseover the last created marker...
> > Again: the method creates the markers and doesn't return a marker...
>
> See Mike's tutorial. He uses a click to open the infoWindow, but the
> coding is similar to what you require.
>
> Your code snippet isn't very helpful.
>
> Andrew
--
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.