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

Draft: feat: add signpost support #997

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

XerockXMG
Copy link

This change allows for users to configure their Signpost instance as a Navigation option.

Example

"navigation": [
    {
      "name": "Signpost",
      "url": "https://signpost.yourdomain.com/pokemon/{id}/google"
    },
    {
      "name": "Google Maps",
      "url": "https://maps.google.com/maps/place/{x},{y}"
    },
    {
      "name": "Apple Maps",
      "url": "https://maps.apple.com/maps?daddr={x},{y}"
    },
    {
      "name": "Waze",
      "url": "https://www.waze.com/ul?ll={x},{y}"
    },
    {
      "name": "Intel",
      "url": "https://intel.ingress.com/intel?pll={x},{y}"
    },
    {
      "name": "GeoURI",
      "url": "geo:{x},{y}?q={x},{y}"
    }
  ],

And if you remove all other navigation options it would force a user to use your Signpost instance.

NOTE: /google can be changed to apple or waze as well.

Signpost Repo: https://github.com/jfberry/signpost

@XerockXMG
Copy link
Author

Had some leftover ? from testing. Removed those to bring things back to the way they were.

@XerockXMG XerockXMG changed the title feat: add signpost support Draft: feat: add signpost support Apr 1, 2024
@XerockXMG
Copy link
Author

I'm dumb. This won't work yet. Wasn't thinking about gym, pokestop, portal and route nav.

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