Giter Site home page Giter Site logo

pinclusterer's People

Contributors

rtsinani avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pinclusterer's Issues

different id for every pin

i love your library but i wonder how do i add id for every pin? cause now the id is null (<a id="null" ....), i want to add different class for some pins too but i don't know how to do it,

sorry if my questions so noob

Clustering breaks on max zoom out.

Zooming out becomes problematic on the last two zoom levels. The second to last level will not display any pushpins at all, the very last zoom level cluster a single pin, but gives an incorrect total.

You can repro this bug using the sample provided here:
http://rtsinani.github.com/PinClusterer/

Just continue to zoom out until you reach the highest two zoom levels.

How to add Info Box

Is there any way to provide a handler to launch an info box when one of the markers is clicked?

Click on cluster zooms to center marker

Just wondering; before I start trying to implement it myself. Is there an easy way to make it so when clicking on a cluster, that it zooms to the bounds of all the markers in that cluster instead of to the center one?

UPDATE: Nevermind was pretty easy to implement

Infobox

Would it be possible to add options to include an infobox title and description if the pin count is 0?

How to change icon for single pin

Changing zoom level, when I have only single pushpins and not a cluster, how do I change the icon to represent a single point? From the circle to a custom image basically

Can you add an example about how to modify/set the pushpin settings?

Cheers

tiles load issue

looks like you have the same tiles load issue as we experienced :

capture decran 2014-03-18 a 18 01 05

Looks like theres an issue when the map is initially hidden :

Here's how we fixed it :

MM.Events.addHandler(map, 'viewchangeend', function() {
    if (map.getWidth()===1 && map.getHeight()===1) {
        map.setOptions({
            height: '100%',
            width: '100%'
        });
    }
});

Hope this helps

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.