Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set single point value to impact point_count of cluster [feature clusterProperties or clusterAggregate ] #302

Closed
elodieprx opened this issue Aug 8, 2019 · 1 comment
Labels
wontfix This will not be worked on

Comments

@elodieprx
Copy link

elodieprx commented Aug 8, 2019

Hi,
I want change the value of my single points and impact the point_count of cluster.
For example, if I had a single point with nb_point = 1 and an other single point with nb_point = 10 then point_count for cluster should be equal to 11.

With mapbox js we can use this (where nb_point is geJson value ):

  • clusterProperties: { total_point: ['+', ['get', 'nb_point']] }
    filter: ["has", "total_point"], instead of filter={['has', 'point_count']}

Other topic about similar problem with js : mapbox/mapbox-gl-js#2412

Wich is equivalent on RN ?

@elodieprx elodieprx changed the title Custom point_count of single point Change single point value to impact nb_point of cluster Aug 8, 2019
@elodieprx elodieprx changed the title Change single point value to impact nb_point of cluster Change single point value to impact point_count of cluster Aug 8, 2019
@elodieprx elodieprx reopened this Aug 8, 2019
@elodieprx elodieprx changed the title Change single point value to impact point_count of cluster Change single point value to impact point_count of cluster [feature clusterProperties or clusterAggregate ] Aug 8, 2019
@elodieprx elodieprx changed the title Change single point value to impact point_count of cluster [feature clusterProperties or clusterAggregate ] Set single point value to impact point_count of cluster [feature clusterProperties or clusterAggregate ] Aug 8, 2019
@stale
Copy link

stale bot commented Oct 7, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Oct 7, 2019
@stale stale bot closed this as completed Oct 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant