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:
@@ -19,4 +19,4 @@ We set up an [image source](https://maplibre.org/maplibre-style-spec/sources/#im
|
||||
|
||||
```kotlin title="Updating the image source"
|
||||
--8<-- "MapLibreAndroidTestApp/src/main/java/org/maplibre/android/testapp/activity/style/AnimatedImageSourceActivity.kt:setImage"
|
||||
```
|
||||
```
|
||||
|
||||
@@ -32,4 +32,4 @@ For animating the taxi we use a [`ValueAnimator`](https://developer.android.com/
|
||||
|
||||
```kotlin title="Animate the taxi driving towards the passenger"
|
||||
--8<-- "MapLibreAndroidTestApp/src/main/java/org/maplibre/android/testapp/activity/style/AnimatedSymbolLayerActivity.kt:animateTaxi"
|
||||
```
|
||||
```
|
||||
|
||||
@@ -22,4 +22,4 @@ We use the [OpenFreeMap Bright](https://openfreemap.org/quick_start/) style whic
|
||||
|
||||
```kotlin title="Changing the light color"
|
||||
--8<-- "MapLibreAndroidTestApp/src/main/java/org/maplibre/android/testapp/activity/style/BuildingFillExtrusionActivity.kt:lightColor"
|
||||
```
|
||||
```
|
||||
|
||||
@@ -46,4 +46,4 @@ Lastly we iterate over the array of `Pair`s to create a `CircleLayer` for each e
|
||||
|
||||
```kotlin title="Add different circle layers for clusters of different point amounts"
|
||||
--8<-- "MapLibreAndroidTestApp/src/main/java/org/maplibre/android/testapp/activity/style/CircleLayerActivity.kt:clusteredCircleLayersLoop"
|
||||
```
|
||||
```
|
||||
|
||||
@@ -6,4 +6,4 @@ This example showcases adding a sprite image and using it in a Symbol Layer.
|
||||
|
||||
```kotlin
|
||||
--8<-- "MapLibreAndroidTestApp/src/main/java/org/maplibre/android/testapp/activity/style/CustomSpriteActivity.kt:addImage"
|
||||
```
|
||||
```
|
||||
|
||||
@@ -19,4 +19,4 @@ Next, we only show features from symbol layers that are less than a certain dist
|
||||
|
||||
```kotlin
|
||||
--8<-- "MapLibreAndroidTestApp/src/main/java/org/maplibre/android/testapp/activity/style/DistanceExpressionActivity.kt:distanceExpression"
|
||||
```
|
||||
```
|
||||
|
||||
@@ -33,4 +33,4 @@ We create a custom implementation of `MoveGestureDetector.OnMoveGestureListener`
|
||||
|
||||
```kotlin
|
||||
--8<-- "MapLibreAndroidTestApp/src/main/java/org/maplibre/android/testapp/activity/style/DraggableMarkerActivity.kt:DraggableSymbolsManager"
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user