Skip to content

Commit

Permalink
adds download instructions to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoberger authored Sep 9, 2019
1 parent 23d21c7 commit f624cc6
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,55 @@ val mapUrl = staticMap.toString()
// Result: https://maps.googleapis.com/maps/api/staticmap?key=yourApiKey&size=500x250&scale=2&center=0.0,0.0&zoom=4&markers=51.507222,-0.1275|52.5069704,13.2846501|48.8589507,2.2770204
```

## Download [![](https://jitpack.io/v/ivoberger/StatikGMapsAPI.svg)](https://jitpack.io/#ivoberger/StatikGMapsAPI)

#### Step 1: Add the JitPack repository to your build file
<details><summary>Groovy</summary>

```groovy
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```

</details>
<details><summary>Kotlin</summary>

```kotlin
allprojects {
repositories {
...
maven { url = "https://jitpack.io" }
}
}
```

</details>

#### Step 2: #### Step 1: Add the JitPack repository to your build file

<details><summary>Groovy</summary>

```groovy
dependencies {
implementation 'com.github.ivoberger:StatikGMapsAPI:latestVersion'
}
```

</details>
<details><summary>Kotlin</summary>

```kotlin
dependencies {
implementation("com.github.ivoberger:StatikGMapsAPI:latestVersion")
}
```

</details>




Expand Down

0 comments on commit f624cc6

Please sign in to comment.