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:
@@ -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"
|
||||
```
|
||||
```
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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"
|
||||
```
|
||||
```
|
||||
|
||||
@@ -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"
|
||||
```
|
||||
```
|
||||
|
||||
@@ -24,4 +24,3 @@ You can remove a click listener again with `MapLibreMap.removeOnMapClickListener
|
||||
</video>
|
||||
{{ openmaptiles_caption }}
|
||||
</figure>
|
||||
|
||||
|
||||
@@ -10,4 +10,4 @@ This example shows how you can move the map by x/y pixels.
|
||||
|
||||
<figure markdown="span">
|
||||
{ width="300" }
|
||||
</figure>
|
||||
</figure>
|
||||
|
||||
@@ -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"
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user