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

[Feature] Added static map images #89

Draft
wants to merge 19 commits into
base: main
Choose a base branch
from
Draft

Conversation

mayurvir
Copy link
Contributor

@mayurvir mayurvir commented Apr 19, 2024

Description

This PR adds static map image to the response send to whatsapp when:

  • User asks for routes between two places
  • User selects a route. It also shares a navigation url in this case
  • User searches along a selected route

Features covered

Changes made

  • Added media urls to Agent.js
  • Added map url for search along a polygon in Ai.js
  • Added navigation url, static image url and markers in MapService.js
  • Removed session clearance on server start
  • Updated test cases

Screenshots/recordings

static.image.mp4

Testing

Try it out yourself by interacting with the agent directly:
https://wa.me/+919335513882

Self checks

  • Code follows coding style guidelines.
  • All tests pass successfully.
  • No new linting errors or warnings.
  • Documentation is updated, if necessary.
  • Dependencies are updated, if required.
  • There are no merge conflicts.

Reviewer Suggestions

None

@mayurvir mayurvir marked this pull request as draft April 19, 2024 07:00
@mayurvir mayurvir linked an issue Apr 19, 2024 that may be closed by this pull request
7 tasks
@mayurvir mayurvir self-assigned this Apr 19, 2024
@mayurvir mayurvir added the enhancement New feature or request label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add static map images for selected routes
1 participant