nativescript-community / ui-mapbox

Interactive, thoroughly customizable maps powered by vector tiles and OpenGL.
34 stars 25 forks source link

Feature: Marker clustering #57

Open b44rd opened 2 years ago

b44rd commented 2 years ago

Hi, wanted to investigate the status of marker clustering support in this plugin. I see the marker clustering function do have some code in it, but it is commented out. Are clustering support a planned feature, or do anybody have a working fork with clustering support? Thanks in advance.

guillemc23 commented 2 years ago

I've seen a lot of recent commit on this plugin. I'm also wondering if this is something that someone is working on.

nicolaric commented 2 years ago

This seems to be available now: https://github.com/nativescript-community/ui-mapbox/pull/62

guillemc23 commented 2 years ago

Any idea how to use it? I added this to my settings but I can't see any change

cluster: {
        radius: 1000,
}

I also tried adding this, but no luck

<Mapbox #map clusterRadius="1000">