stadiamaps / stadiamaps/ferrostar

"North up" or other fixed bearing map

Open
#490 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
419
Forks
81
Avg merge
6d 1h
Merged PRs (30d)
7

Description

A user of the framework noted that some people prefer to keep their maps always "north up." Currently all platforms use MapLibre's built-in user tracking, but it doesn't strictly have to be this way.

In the context of the web (original discussion), the camera bearing is being set here: https://github.com/stadiamaps/ferrostar/blob/03e26754f4c35e7e2991ac19961a8e31f61300a9/web/src/ferrostar-map.ts#L423.

I think we could model this as an enum with values like track course, north up, or something along those lines... (Maybe "fixed bearing" is better than "north up?" Does anyone want to fix to, idk, east?).

Opening this issue to track discussion.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.