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

Hit Test returning all graphics in layer #294

Closed
TimPurdum opened this issue Jan 31, 2024 · 0 comments · Fixed by #296
Closed

Hit Test returning all graphics in layer #294

TimPurdum opened this issue Jan 31, 2024 · 0 comments · Fixed by #296
Assignees
Labels
bug Something isn't working

Comments

@TimPurdum
Copy link
Collaborator

The results from a hit test in JavaScript include the following object graph:

results

  • graphics
    • graphic
      • layer
        • graphics (all graphics in the layer)

We are serializing all of this, which makes HitTest much slower than expected. Instead, we should only need to return the GeoBlazor Layer Id, and nothing else about the layer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant