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

Add support of GetClusterLeaves and GetClusterExpansionZoom on Datasource #95

Merged
merged 4 commits into from
Mar 27, 2024

Conversation

arnaudleclerc
Copy link
Owner

@arnaudleclerc arnaudleclerc commented Mar 27, 2024

This PR adds two new methods on the Datasource class :

  • GetClusterExpansionZoom, to retrieve the zoom level at which a cluster will expand or break
  • GetClusterLeaves, to retrieve the features contained on a cluster

@arnaudleclerc arnaudleclerc changed the title Add support of GetClusterLeaves and GetExpansionZoomLevel on Datasource Add support of GetClusterLeaves and GetClusterExpansionZoom on Datasource Mar 27, 2024
@arnaudleclerc arnaudleclerc merged commit 0d8839d into develop Mar 27, 2024
6 checks passed
@arnaudleclerc arnaudleclerc deleted the features/get-clustered-leaves branch March 27, 2024 21:39
@DavidThielen
Copy link

DavidThielen commented Mar 28, 2024

For anyone upgrading to this to test - you may get the following when you run:

JSException: Could not find 'azureMapsControl.Datasource.getClusterExpansionZoom' ('getClusterExpansionZoom' was undefined).
Error: Could not find 'azureMapsControl.Datasource.getClusterExpansionZoom' ('getClusterExpansionZoom' was undefined).

If you do, you need to delete all caches (I don't know which mattered, I cleared them all):

  • Browser cached files
  • Solution .vs folder
  • Project bin folder
  • Project obj folder

Once you do that, the exception goes away and it finds the function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants