Skip to content

Commit dd015ac

Browse files
committed
Update doc
1 parent bc5d38f commit dd015ac

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ There's an example in the demo app.
7373

7474
Add this to your module's build.gradle
7575
```groovy
76-
implementation 'ovh.plrapps:mapcompose:2.12.9'
76+
implementation 'ovh.plrapps:mapcompose:2.12.11'
7777
```
7878

7979
Starting with v.2.4.1, the library is using the

mapcompose/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
GROUP=ovh.plrapps
2-
VERSION_NAME=2.12.10
2+
VERSION_NAME=2.12.11
33
ARTIFACT_ID=mapcompose
44

55
POM_NAME=MapCompose

mapcompose/src/main/java/ovh/plrapps/mapcompose/api/PathApi.kt

+2-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,8 @@ fun MapState.makePathDataBuilder(): PathDataBuilder {
167167
* Register a callback which will be invoked when a path is tapped.
168168
* Beware that this click listener will only be invoked if at least one path is clickable, and when
169169
* the click gesture isn't already consumed by some other composable (like a button), or a marker.
170-
* When several paths hover each other, the [cb] is invoked for the path with the highest z-index.
170+
* When several paths hover each other, the [cb] is invoked for the path with the highest z-index
171+
* and which is the last drawn.
171172
*/
172173
fun MapState.onPathClick(cb: (id: String, x: Double, y: Double) -> Unit) {
173174
pathState.pathClickCb = cb

0 commit comments

Comments
 (0)