Questions tagged [supercluster]
7 questions
2
votes
0 answers
Precision issue in reverse coordinate transformation between latitude and normalised Mercator y-coordinates in C# (SuperCluster Mapbox)
I have implemented two functions LatY and YLat that converts a given latitude value to a normalized Mercator y-coordinate value and vice versa. The LatY function uses the following formula:
double LatY(double lat)
{
var sin = Math.Sin(lat *…

Waseem Abbas
- 341
- 1
- 6
1
vote
1 answer
supercluster: get all markers in a cluster
I'm using superclsuter for clustering markers in react native map, what I want is to get all children from a cluster no matter what level of nesting a cluster may have.
to explain the situation a little better, a cluster can have markers and other…

Cristian Flórez
- 2,277
- 5
- 29
- 51
0
votes
0 answers
How can I use supercluster v 7.1.2 with openlayers v6.12.0 in javascript
how can i use supercluster v 7.1.2 with openlayers v6.12.0 in javascript. it seems that version 6 is not compatible with ol-supercluster . https://github.com/fjorgemota/ol-supercluster I don't use node.js or npm. the code is
//la source
…

ericire
- 409
- 6
- 22
0
votes
0 answers
Is there a way to deal with a point representing multiple entries using supercluster?
I'm working with a dataset where each entry represents a quantity. For example, one point could represent 2 cats while another could represent 5. Is there a way to quantify the amount of cats instead of the amount of points using supercluster?
Using…

blechdavier
- 38
- 5
0
votes
0 answers
Cluster different sized/shaped markers on react-native-maps [Apple maps]
How do i cluster different sized markers on react native maps? The markers could also be of different shapes (images) like circles/rectangles (or) weird shaped polygons and stuff. If not, is there a way to atleast identify overlaps between 2…

RandomFandom
- 1
- 1
0
votes
0 answers
Mapbox-gl and Supercluster: How to get access to reduce methods of supercluster instance in mapbox-gl
As I see supercluster uses like peer dependency for mapbox-gl.
Mapbox provides the possibility of clustering from the box and this is thanks supercluster.
Supercluster has very important method - reduce: a reduce function that merges properties of…

Vladislav Kochurko
- 35
- 5
0
votes
0 answers
Clusters not showing at some levels in Leaflet and useSupercluster
In the Leaflet map, I´m rendering 80,000 points (markers)
Works fine, but at some zoom levels, the map not shows any marker or cluster. If I zoom, appears the clusters. But I want to show clusters in all the map at all the map zoom levels.
Live…

Medina Villa
- 21
- 4