Giter Site home page Giter Site logo

Comments (4)

fungiboletus avatar fungiboletus commented on May 22, 2024

Hello,

You can find here an example of how to get the markers from a cluster. You also need to enable the feature using PruneCluster.Cluster.ENABLE_MARKERS_LIST = true;. It's not enabled by default because it slows down the application.

I have not implemented a showBoundsOnmouseover feature for different reasons :

  • Our application is for mobile touch device first, so no mouseover
  • When you have a lot of markers, the hull is more or less a square corresponding to the grid clustering
  • You need to update a hull in real-time when displayed

This feature can definitely be added in the library, but I don't plan developing it.

from prunecluster.

StilgarBF avatar StilgarBF commented on May 22, 2024

Thanks for the fast response.
got it working now. : http://www.freifunk-karte.de/

I'll close this issue since there are no plans of adding that feature and its no longer an issue for me.

Great work on that Plugin. :-D

from prunecluster.

fungiboletus avatar fungiboletus commented on May 22, 2024

Hum, it's pretty nice. Can I keep the showClusterHull on the side? I maybe add it as an option when I will have time.

A small issue : if I zoom using the mousewheel, the old clusterArea stays on the map. I think you can check if the clusterArea is still on the map and use setLatLngs instead of creating a new polygon object.

from prunecluster.

StilgarBF avatar StilgarBF commented on May 22, 2024

You can use whatever part you like.
Thanks for the bugnote - will fix that. I think I will remove that poly on zoom.

from prunecluster.

Related Issues (20)

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.