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

Add arrival-view and instruction-view for web #162

Merged
merged 17 commits into from
Jul 25, 2024

Conversation

CatMe0w
Copy link
Collaborator

@CatMe0w CatMe0w commented Jul 23, 2024

Here is another big PR - I broke my local git branches somehow and eventually everything went into one single PR again.

A quick view

image

Other minor changes

Removed unused functions in ferrostar-core

These functions were originally placed with reference to the Android implementation, however Android is very different from the web (Lit), where the ModelView is very small, so there is no need to accurately copy all the internal details of the Android implementation.

Added a Stop Navigation button

However, not quite sure if this button should be moved inside ferrostar-core component, similar to the style implemented in Android.

Known issues + TODOs

  • i18n support (right-to-left layout, imperial units, etc.)
  • An overiview view showing all instructions
  • More styles for arrival-view and instruction-view

web/index.html Outdated Show resolved Hide resolved
web/index.html Outdated Show resolved Hide resolved
web/index.html Outdated Show resolved Hide resolved
web/src/arrival-view.ts Outdated Show resolved Hide resolved
web/src/ferrostar-core.ts Show resolved Hide resolved
@ianthetechie ianthetechie merged commit a236809 into stadiamaps:main Jul 25, 2024
14 checks passed
@CatMe0w CatMe0w deleted the patch-arrival-view branch July 25, 2024 05:30
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.

2 participants