mapbox / mapbox/mapbox-maps-android

How to ease camera to polygon bounds?

Open
#776 4 comments 1 reaction 1 assignee View on GitHub

@ZiZasaurus is already working on this.

Since Oct 28, 2021.

auto-triaged bug :beetle: question
Dominant language
Kotlin
Stars
578
Forks
161
PR merge metrics
No merged PRs in 30d

Description

Before v10 I can do it

`LatLngBounds.Builder builder = new LatLngBounds.Builder();
.include(aaaaaaaaaa)
.include(bbbbbbbb)
.include(cccccccccc)

mapBoxMapView.getMapBoxMap().easeCamera(CameraUpdateFactory.newLatLngBounds(
builder.build(),
paddingStart, paddingTop, paddingEnd, paddingBottom));`


Now how to do ? Thanks

_Originally posted by @xiaxiayige in https://github.com/mapbox/mapbox-maps-android/issues/715#issuecomment-939280584_

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.