Skip to content

OnClick has 0 MapMouseEventArgs.Shapes for a clustered SymbolLayer #92

Description

@DavidThielen

I have tested this with both AzureMap.OnClick and SymbolLayer.OnClick.

For a pin with a single point both OnClick() event handlers are passed a MapMouseEventArgs.Shapes has the expected 1 point and the MapMouseEventArgs.Features has 0 entries.

For a clustered point, both OnClick() event Handlers are passed a MapMouseEventArgs.Shapes with 0 entries and a MapMouseEventArgs.Features with 1 entry that has the cluster properties ("point_count", etc.)

According to this sample, both OnClick() event handlers should be passed a list of entries in the MapMouseEventArgs.Shapes.

I can create an example if needed. Please note that this sample does not access the MapMouseEventArgs.Shapes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions