Skip to content

Add support of GetClusterLeaves and GetClusterExpansionZoom on Datasource#95

Merged
arnaudleclerc merged 4 commits into
developfrom
features/get-clustered-leaves
Mar 27, 2024
Merged

Add support of GetClusterLeaves and GetClusterExpansionZoom on Datasource#95
arnaudleclerc merged 4 commits into
developfrom
features/get-clustered-leaves

Conversation

@arnaudleclerc
Copy link
Copy Markdown
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
@arnaudleclerc arnaudleclerc deleted the features/get-clustered-leaves branch March 27, 2024 21:39
@DavidThielen
Copy link
Copy Markdown

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