maplibre / maplibre-native

MapLibre Native - Interactive vector tile maps for iOS, Android and other platforms.
https://maplibre.org
BSD 2-Clause "Simplified" License
898 stars 274 forks source link

Map copyright appears in MapSnapshotter, even with Logo option disabled #2478

Open geolives-contact opened 1 month ago

geolives-contact commented 1 month ago

Describe the bug When asking for a map snapshot, even without a logo, there is now a map copyright. Is it a new feature, and can it be turned off via an option ?

To Reproduce Here is the code used to generate a snapshot without logo :

MapSnapshotter.Options snapShotOptions = new MapSnapshotter.Options(width, height).withLogo(false);
LatLngBounds bounds = LatLngBounds.from(north, east, south, west);
snapShotOptions.withRegion(bounds);
Style.Builder styleBuilder = new Style.Builder().fromUri(mCachedMapType.getStyleUrl());
snapShotOptions.withStyleBuilder(styleBuilder);

snapshotter = new MapSnapshotter(App.getApplication(), snapShotOptions);
snapshotter.start(snapshot -> {
    Bitmap result = snapshot.getBitmap();
}, error -> {
    // Handle error
});

Expected behavior One of the followings should be expected :

Screenshots 2024-06-06 14 22 50

Platform information: