A fast, memory efficient Jetpack Compose library to display tiled maps, with support for markers, paths, and rotation.
APACHE-2.0 License
Bot releases are visible (Hide)
Published by p-lr over 1 year ago
centerOnMarker
api:suspend fun MapState.centerOnMarker(
id: String,
destScale: Float,
destAngle: AngleDegree,
animationSpec: AnimationSpec<Float> = SpringSpec(stiffness = Spring.StiffnessLow)
)
This allows for scaling, rotating, and scrolling the map at the same time while centering on a marker.
setVisibleAreaPadding
api with Dp
inputs is no longer a @Composable
function. The "VisibleAreaPadding" demo is updated.Published by p-lr over 1 year ago
clipShape
parameter of addMarker
api is made no-op and deprecated.Published by p-lr almost 2 years ago
MinimumScaleMode.Fit
), it's possible to scroll the map freely within the screen bounds. This new behavior ensures a consistent scrolling experience when scrolling in and out.setScrollOffsetRatio
api.Published by p-lr almost 2 years ago
Fix an issue with release build of apps using MapCompose
Published by p-lr almost 2 years ago
Update Kotlin 1.7.20 and Compose 1.3.0
Published by p-lr about 2 years ago
Slight improvement of zoom fling gesture, which now better reflects intent based on motion intensity
Published by p-lr about 2 years ago
Published by p-lr about 2 years ago
Published by p-lr about 2 years ago
Published by p-lr about 2 years ago
This version has important gesture changes.
enableFlingZoom
and disableFlingZoom
where added to respectively enable and disable this new featurePublished by p-lr about 2 years ago