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

Remove Mapbox logo #355

Closed
maxammann opened this issue Apr 29, 2021 · 8 comments · Fixed by #484
Closed

Remove Mapbox logo #355

maxammann opened this issue Apr 29, 2021 · 8 comments · Fixed by #484
Assignees
Labels

Comments

@maxammann
Copy link
Member

Is your feature request related to a problem? Please describe.
I am fairly sure that we do not need to show the Mapbox logo: https://stackoverflow.com/a/37554584

@maxammann maxammann added the Task label Apr 29, 2021
@maxammann
Copy link
Member Author

Only attribution for https://openmaptiles.org/ is required. We already have this.

So lets remove it.

@steffenkleinle
Copy link
Member

Is there an easy way to disable this? I did not find anything in the docs. However, it is possible to just set the margins big enough so that it is not visible anymore (not really a nice solution though).

@michael-markl
Copy link
Member

michael-markl commented Feb 13, 2022

The Flutter bindings are not a nice solution per sé (they are shitty). So let's use a hack 👍🏽
However, we could also solve it upstream in the maplibre bindings.

@maxammann
Copy link
Member Author

Hm we actually could fix this upstream in maplibre and remove the logo, right? I mean there is no need for maplibre to display a mapbox logo, right?

@steffenkleinle
Copy link
Member

steffenkleinle commented Feb 14, 2022

I am open to fixing it upstream, could you point me in the right direction? I am not quite familiar with mapbox/maplibre and how it plays together. If I want to fix it upstream, do I need the same margin hack (i.e. not taking logoViewMargins as an argument here but setting it manually to Point(double.maxFinite, double.maxFinite)) because maplibre uses mapbox under the hood? Or is there another way to do that?

This would also be a breaking change, right?

@maxammann
Copy link
Member Author

So Im still not 100% sure whether we are allowed to remove the logo. Maybe we can clarify this with the maplibre team.

@maxammann
Copy link
Member Author

When it comes to hiding the Mapbox logo, All non-Enterprise accounts are required to display the Mapbox logo when using any Mapbox maps. Therefore, you can't remove it.

But im not sure whether this is relevant for maplibre anymore. In fact it is not mapbox anymore.

@steffenkleinle
Copy link
Member

steffenkleinle commented Feb 14, 2022

Do you want to clarify this in a issue upstream? As I mentioned I have nearly no insight here into the connection of maplibre/mapbox or why we would have to/not have to show a mapbox logo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants