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

Display copyright on map view #24

Closed
guerda opened this issue Dec 27, 2021 · 1 comment
Closed

Display copyright on map view #24

guerda opened this issue Dec 27, 2021 · 1 comment

Comments

@guerda
Copy link
Contributor

guerda commented Dec 27, 2021

The current version from F-Droid is missing a copyright notice from OpenStreetMap. OsmDroid does not seem to display it by default, so a custom one needs to be added.
Here's one option which might work:

//Copyright overlay mCopyrightOverlay = new CopyrightOverlay(context); mMapView.getOverlays().add(this.mCopyrightOverlay);

https://stackoverflow.com/a/50968755/32043

The text "© OpenStreetMap contributors" is required by the license.
See https://openstreetmap.org/copyright

https://mobile.twitter.com/OSM_Pontarlier/status/1444744213330022403

@Trup3s
Copy link
Collaborator

Trup3s commented Dec 27, 2021

Thanks for making us aware of this! I will add this to the next version!

guerda added a commit to guerda/AirGuard that referenced this issue Dec 27, 2021
Add copyright overlay for OpenStreetMap contributors
Fixes seemoo-lab#24
Trup3s pushed a commit that referenced this issue Jan 3, 2022
Add copyright overlay for OpenStreetMap contributors
Fixes #24
@Trup3s Trup3s closed this as completed Jan 3, 2022
Trup3s pushed a commit that referenced this issue Jan 3, 2022
Add copyright overlay for OpenStreetMap contributors
Fixes #24
Trup3s pushed a commit that referenced this issue Jan 3, 2022
Add copyright overlay for OpenStreetMap contributors
Fixes #24
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

No branches or pull requests

2 participants