Git Product home page Git Product logo

Comments (7)

maxep avatar maxep commented on June 18, 2024 1

You have several types of cluster: CKCluster , CKCentroidCluster , CKNearestCentroidCluster , CKBottomCluster.

If you want to change the type (CKCentroidCluster in your case), you can register it by calling registerClusterClass: of the algorithm.

from clusterkit.

andre991 avatar andre991 commented on June 18, 2024

You need include the protocol CKAnnotation in your custom annotation.

from clusterkit.

yetelday avatar yetelday commented on June 18, 2024

OK, I didn't create a custom annotation... I just used MKAnotation

from clusterkit.

yetelday avatar yetelday commented on June 18, 2024

I created a class that inherits from MKAnnotationPoint and implements the CKAnnotation protocol and then fill my array and when I try to pass it to the clusterManager I get
'-[Annotation setCluster:]: unrecognized selector sent to instance'

from clusterkit.

maxep avatar maxep commented on June 18, 2024

cluster is a required property, you should add @synthesize cluster; to your implementation.

from clusterkit.

yetelday avatar yetelday commented on June 18, 2024

Thanks ! Got it Working !

from clusterkit.

yetelday avatar yetelday commented on June 18, 2024

just a few questions, how do you animate the elements of the cluster when they merge and separate, and is there a way to have the cluster place itself at the combined center of the elements it clusters ?
Thanks

from clusterkit.

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.