I would like to use the bounding box calculated in the PathDataBuilder.build() to use for MapState.scrollTo.
Currently, the boundingBox field of PathData is internal, so it cannot be accessed
|
internal val boundingBox: Pair<Point, Point> // topLeft, bottomRight |
Is there another way of scrolling a path into the view? I could not find anything in the docs or even in the sources.
If there's currently no way, would it be ok to make PathData.boundingBox public? (and possibly data too)
I would like to use the bounding box calculated in the
PathDataBuilder.build()to use forMapState.scrollTo.Currently, the
boundingBoxfield ofPathDatais internal, so it cannot be accessedMapCompose/mapcompose/src/main/java/ovh/plrapps/mapcompose/ui/paths/PathComposer.kt
Line 214 in 9690629
Is there another way of scrolling a path into the view? I could not find anything in the docs or even in the sources.
If there's currently no way, would it be ok to make
PathData.boundingBoxpublic? (and possiblydatatoo)