Giter VIP home page Giter VIP logo

Comments (4)

luixo avatar luixo commented on June 2, 2024 1

Experimentally I found zoom level of 30 being the maximum before this error is thrown on my data.
Do you have an idea why exactly that number?
Should I open a PR?

from supercluster.

mourner avatar mourner commented on June 2, 2024

Can you share a full example, e.g. on JSFiddle? This is likely caused by the 999 maxZoom — Supercluster isn't really designed to work with zooms over 32 (and even with that you'd get atomic-level precision on a map).

from supercluster.

luixo avatar luixo commented on June 2, 2024

I changed maxZoom to a maximum zoom available in mapboxgl and it worked like a charm.
If the design fails for some reason on zooms over 32 - should it be capped by that number in the library?

from supercluster.

mourner avatar mourner commented on June 2, 2024

@luixo yes, I think we should cap internally.

from supercluster.

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.