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

implement fly to the closest location and then trigger popup info #32

Merged

Conversation

ntubrian
Copy link
Collaborator

IMPORTANT: Please do not create a Pull Request without creating an issue first.

Summary

A clear and concise description of this pull request

  • one little refactor of calculateHaversineDistance.js
    • The original function parameters lacked flexibility, so they were refactored to enhance usability
  • implement fly to the closest location and then trigger popup info
    • The "近" button will only be shown when there is exactly one visible layer of the type 'circle'.

Type (Fill in "x" to check)

  • Bug Fix
  • New Feature

Checklist

Please make sure that all items are checked before submitting this request.

  • Code linter has been run and issues have all been resolved
  • The code has been thoroughly tested and no visible bugs have been introduced
  • The pull request will completely resolve the issue(s) mentioned
  • The pull request only resolves the issue(s) mentioned and nothing more

Additional context

Add any other context here.

@ntubrian ntubrian merged commit 79e9bbb into rakechen-0307:main May 29, 2024
3 checks passed
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.

1 participant