We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Since padding for the viewport is useful for centering the content, it would be helpful to add the setPadding to this package. Example: https://maplibre.org/maplibre-gl-js-docs/example/offset-vanishing-point-with-padding/
setPadding
The documentation for the native side: https://maplibre.org/maplibre-gl-js-docs/api/map/#map#setpadding
Example: (Native)
mapView = MapView(context, options) mapView.setPadding(20, 20, 10, 60)
It would be great to use it like that:
maplibreMapController.setPadding(left: 20, right: 20, bottom: 20, top: 20);
The text was updated successfully, but these errors were encountered:
Any updates? Really need this feature.
Sorry, something went wrong.
Looks like we could use
JulianBissekkou
No branches or pull requests
Since padding for the viewport is useful for centering the content, it would be helpful to add the
setPadding
to this package.Example: https://maplibre.org/maplibre-gl-js-docs/example/offset-vanishing-point-with-padding/
The documentation for the native side:
https://maplibre.org/maplibre-gl-js-docs/api/map/#map#setpadding
Example: (Native)
It would be great to use it like that:
maplibreMapController.setPadding(left: 20, right: 20, bottom: 20, top: 20);
The text was updated successfully, but these errors were encountered: