Add end-of-file-fixer pre-commit hook (#3176)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Bart Louwers
2025-01-24 20:43:50 +01:00
committed by GitHub
parent c7b63cd9a7
commit c79b6dcf52
8187 changed files with 8059 additions and 8199 deletions

View File

@@ -4,4 +4,4 @@ This example showcases how to use the Animator API to schedule a sequence of map
```kotlin title="CameraAnimatorActivity.kt"
--8<-- "MapLibreAndroidTestApp/src/main/java/org/maplibre/android/testapp/activity/camera/CameraAnimatorActivity.kt"
```
```

View File

@@ -30,4 +30,4 @@ And registered with:
--8<-- "MapLibreAndroidTestApp/src/main/java/org/maplibre/android/testapp/activity/camera/CameraPositionActivity.kt:addOnCameraMoveListener"
```
Refer to the full example to learn the methods to register the other types of camera change events.
Refer to the full example to learn the methods to register the other types of camera change events.

View File

@@ -25,4 +25,4 @@ You can access an `UISettings` object via `MapLibreMap.uiSettings`. Available se
```kotlin title="GestureDetectorActivity.kt"
--8<-- "MapLibreAndroidTestApp/src/main/java/org/maplibre/android/testapp/activity/camera/GestureDetectorActivity.kt"
```
```

View File

@@ -21,4 +21,4 @@ The `createBounds` function uses the `LatLngBounds` API to include all points wi
```kotlin
--8<-- "MapLibreAndroidTestApp/src/main/java/org/maplibre/android/testapp/activity/camera/LatLngBoundsActivity.kt:createBounds"
```
```

View File

@@ -24,4 +24,3 @@ You can remove a click listener again with `MapLibreMap.removeOnMapClickListener
</video>
{{ openmaptiles_caption }}
</figure>

View File

@@ -10,4 +10,4 @@ This example shows how you can move the map by x/y pixels.
<figure markdown="span">
![Screenshot of Example Activity to move the map by some pixels](https://github.com/user-attachments/assets/f8ae0ec7-a165-4fb3-ab9f-bfb5579c7dd8){ width="300" }
</figure>
</figure>

View File

@@ -41,4 +41,3 @@ Each method uses `MapLibreMap.animateCamera`, but with a different `CameraUpdate
```kotlin
--8<-- "MapLibreAndroidTestApp/src/main/java/org/maplibre/android/testapp/activity/camera/ManualZoomActivity.kt:zoomToPoint"
```