Thursday, January 7, 2010

Re: MarkerClusterer getTotalMarkers of viewport

Hi Pablo

No, I haven't really found a solution, but I no longer need it at the
moment. I solved my problem on the server side...

If you're interested, I'm using the <a href="http://www.speich.net/
photo/photodb/photo-mapsearch.php
">MarkerClusterer to display my
photos on the GMap</a>.

On Jan 4, 2:40 am, Pablo Azorin <pabloazo...@gmail.com> wrote:
> Hi Simon,
>
> I am facing the same situation of you.
>
> Have you found a solution? Is there any way to get the markers in the
> current viewport?
>
> I've seen the function resetViewport() definition is "Collect all
> markers of clusters in viewport and regroup them.". Maybe if we dig
> into the "collect all markers" could find the solution.
>
> --Pablo
>
> On 20 dic 2009, 11:02, simon <simon.spe...@gmail.com> wrote:
>
> > Hi everyone
>
> > I know that there is a methodMarkerClusterer.getTotalMarkers() but I
> > would like to only get the total amount of markers currently visible
> > in the viewport. Any ideas how to do that?

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate