Mapbox-gl-native: Hide the 鈩癸笍 attribution button if map isn't interactive

Created on 3 Feb 2016  路  5Comments  路  Source: mapbox/mapbox-gl-native

When a map view has userInteractionEnabled=NO, the :information_source: button isn't tappable. It doesn't make much sense to have a non-tappable button, so we should hide it.

When there is no attribution button (or effectively none), we may also want to re-check for a telemetry opt-out.

/cc @1ec5 @boundsj

archived bug gl-ios iOS telemetry

Most helpful comment

Instead of just hiding the button, we should switch to text-only attribution in non-interactive maps.

All 5 comments

Instead of just hiding the button, we should switch to text-only attribution in non-interactive maps.

This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings