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

Bookmark basics #2355

Merged
merged 6 commits into from
Dec 16, 2021
Merged

Bookmark basics #2355

merged 6 commits into from
Dec 16, 2021

Conversation

nirvn
Copy link
Member

@nirvn nirvn commented Dec 12, 2021

This PR implements basic bookmarks display framework for QField. In action:

Peek.2021-12-12.11-58.mp4

The framework displays both project bookmarks (see in the screencast) as well as app-wide bookmarks (UI to be implemented in a different PR).

This is cool for a couple of reasons:
a/ the bookmarks are rendered as QML items, so it is always shown and not bound to canvas rendering
b/ the app-wide bookmarks will be saved across projects

A single click/tap on the bookmark throws a toaster message with the bookmark name. A double click/tap sets the map canvas extent to the bookmark extent:

Peek.2021-12-12.15-01.mp4

@qfield-fairy

This comment has been minimized.

@qfield-fairy

This comment has been minimized.

@qfield-fairy

This comment has been minimized.

@qfield-fairy

This comment has been minimized.

src/core/bookmarkmodel.cpp Outdated Show resolved Hide resolved
@qfield-fairy
Copy link
Collaborator

🎉 Ta-daaa, freshly created APKs are available for 450e099:

Other architectures: armv7, x86_64, x86

Copy link
Member

@m-kuhn m-kuhn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks for this 🎉

@nirvn nirvn merged commit f4aefa7 into master Dec 16, 2021
@nirvn nirvn deleted the bookmark_basics branch December 16, 2021 11:39
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants