The aim of this issue is to assist host applications that have a polygons/multi-polygon to generate the outer bounds. These bounds are going to be used to request for offline map downloads of such an area
~- [x] Generate bounds from an array/list of points~
[x] Generate bounds with a distance buffer
~- [ ] Generate bounds from a polygon~
~- [ ] Generate bounds from a multi-polygon~
[x] Add activity showing how to use the Mapbox SDK TurfMeasurement.bbox methods and getPaddedBounds method
The aim of this issue is to assist host applications that have a polygons/multi-polygon to generate the outer bounds. These bounds are going to be used to request for offline map downloads of such an area
~- [x] Generate bounds from an array/list of points~
[x] Generate bounds with a distance buffer ~- [ ] Generate bounds from a polygon~ ~- [ ] Generate bounds from a multi-polygon~
[x] Add activity showing how to use the Mapbox SDK
TurfMeasurement.bbox
methods andgetPaddedBounds
method