On Nov 21, 5:56 pm, Armenfrast <[email protected]> wrote:
> I have done so, and also found extra information in the google api v3
> page, however now, whenever i click on a marker i get information only
> on the last value.

Sounds and looks like pitfall #3 on this page of Mike Williams' (v2)
tutorial:
The Basics - Part 1 Markers with info windows
http://econym.org.uk/gmap/basic1.htm

  -- Larry

>
> seehttp://www.psop.fr/XMAP_Population_Google.php
>
> On 21 nov, 23:08, Luke Mahé <[email protected]> wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > You can just add a click event listener to each marker before you add them
> > to the MarkerClusterer to display the infowindow. The MarkerClusterer will
> > just show the single marker when the cluster only contains one marker. If
> > you want to add a infowindow to the clusters then you should listen to the
> > clusterclick event.
>
> > Hope this helps
>
> > - Luke
>
> > On Sun, Nov 21, 2010 at 10:45 AM, Armenfrast <[email protected]> wrote:
> > > Hello,
>
> > > my knowledge in .js is near to nil, but I have added a geolocalisation
> > > in my sitehttp://www.psop.fr/?rep_rubrique=MAP_Population
>
> > > I am now testing Marker Cluster, but i would like to click on the
> > > single locations and get an information box.
>
> > > Do you have an exemple of the code, or do you know anoter cluster
> > > appli that gives more options.
>
> > > Thanks
>
> > > Pierre
> > > France
>
> > > ============================
> > > echo "
> > >                        var latLng = new google.maps.LatLng($lat,$lon);
> > >                        var marker = new google.maps.Marker({
> > >  position: latLng
> > >                        });
> > > markerCluster.addMarker(marker);
> > > ";
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Google Maps JavaScript API v3" group.
> > > To post to this group, send email to
> > > [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<google-maps-js-api-v3%2B
> > >  [email protected]>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-maps-js-api-v3?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to