Giter Club home page Giter Club logo

Comments (8)

BenjaminVadant avatar BenjaminVadant commented on August 22, 2024

from leaflet-ugeojson.

geologic avatar geologic commented on August 22, 2024

Yes, i tried that first, but no points are rendered on map. With inspector i see that no request is made to getpoints.php

from leaflet-ugeojson.

KieranFletcher avatar KieranFletcher commented on August 22, 2024

@geologic Did you ever find a fix?

from leaflet-ugeojson.

geologic avatar geologic commented on August 22, 2024

Nope, i end giving up of clustering...
If you find a way please let me know

from leaflet-ugeojson.

BenjaminVadant avatar BenjaminVadant commented on August 22, 2024

Maybe it has something to do with the event I'm listening to to trigger the calls : I'm not using the "moveend" event as it triggers strange behavior : it can start an autocall loop! So I prefer to use dragend and zoomend.

This line https://github.com/Leaflet/Leaflet.markercluster/blob/93bf5408ad84b74ea42f55ccb6ca0450daa41427/src/MarkerClusterGroup.js#L577
shows that Leaflet.markercluster is relying on "moveend" to work.

I'll try to update (it has been a long time) the lib

from leaflet-ugeojson.

BenjaminVadant avatar BenjaminVadant commented on August 22, 2024

After investigation, the issue is more complicated than I previously thought : my Leaflet.uGeoJSON layer relies on a call to the "onAdd" method which normally occurs when the layer is added to a map but not when it is added to the cluster group layer.

It will need a real refactor.

from leaflet-ugeojson.

KieranFletcher avatar KieranFletcher commented on August 22, 2024

Does this mean it might not support it for quite some time?

from leaflet-ugeojson.

BenjaminVadant avatar BenjaminVadant commented on August 22, 2024

Yes

from leaflet-ugeojson.

Related Issues (6)

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.