Skip to content

Commit a2ee9fe

Browse files
author
Langston Smith
authored
Bumped plugin version numbers in README files for giant release following Maps 8.0.0 (#989)
1 parent a9674af commit a2ee9fe

9 files changed

Lines changed: 83 additions & 16 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ Plugins are single-purpose libraries built on top of the [Mapbox Maps SDK for An
3434

3535
* [**Localization:** Have your map's text automatically match the device's default language setting.](https://github.com/mapbox/mapbox-plugins-android/tree/master/plugin-localization)
3636

37+
* [**Scale bar:** Provide a visual map scale bar for your users to determine distance.](https://github.com/mapbox/mapbox-plugins-android/tree/master/plugin-scalebar)
38+
3739
## Installing a plugin
3840

3941
By using a plugin, you also have to include the Mapbox Maps SDK for Android which means that you'll need to setup your project to use the Maps SDK if you haven't already. Head over to the [overview page for the Maps SDK](https://www.mapbox.com/android-docs/map-sdk/overview/) to learn more.

plugin-annotation/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ android {
3131
}
3232
3333
dependencies {
34-
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-annotation-v7:0.6.0'
34+
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-annotation-v8:0.7.0'
3535
}
3636
```
3737

@@ -48,7 +48,7 @@ repositories {
4848
4949
// In the app build.gradle file
5050
dependencies {
51-
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-annotation-v7:0.7.0-SNAPSHOT'
51+
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-annotation-v8:0.8.0-SNAPSHOT'
5252
}
5353
```
5454

plugin-building/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Mapbox building plugin
1+
# Mapbox Building Plugin
22

33
![buildings-plugin](https://user-images.githubusercontent.com/4394910/28844435-71442d04-76b9-11e7-8866-ee6a94306353.gif)
44

@@ -18,7 +18,7 @@ repositories {
1818
1919
// In the app build.gradle file
2020
dependencies {
21-
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-building-v7:0.5.0'
21+
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-building-v8:0.6.0'
2222
}
2323
```
2424

@@ -35,7 +35,7 @@ repositories {
3535
3636
// In the app build.gradle file
3737
dependencies {
38-
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-building-v7:0.6.0-SNAPSHOT'
38+
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-building-v8:0.7.0-SNAPSHOT'
3939
}
4040
```
4141

plugin-localization/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repositories {
2020
2121
// In the app build.gradle file
2222
dependencies {
23-
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-localization-v7:0.9.0'
23+
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-localization-v8:0.10.0'
2424
}
2525
```
2626

@@ -38,7 +38,7 @@ repositories {
3838
3939
// In the app build.gradle file
4040
dependencies {
41-
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-localization-v7:0.10.0-SNAPSHOT'
41+
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-localization-v8:0.11.0-SNAPSHOT'
4242
}
4343
```
4444

plugin-markerview/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repositories {
2020
2121
// In the app build.gradle file
2222
dependencies {
23-
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-markerview-v7:0.2.0'
23+
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-markerview-v8:0.3.0'
2424
}
2525
```
2626

@@ -37,7 +37,7 @@ repositories {
3737
3838
// In the app build.gradle file
3939
dependencies {
40-
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-markerview-v7:0.3.0-SNAPSHOT'
40+
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-markerview-v8:0.4.0-SNAPSHOT'
4141
}
4242
```
4343

plugin-offline/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ repositories {
1818
1919
// In the app build.gradle file
2020
dependencies {
21-
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-offline-v7:0.5.0'
21+
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-offline-v8:0.6.0'
2222
}
2323
```
2424

@@ -35,7 +35,7 @@ repositories {
3535
3636
// In the app build.gradle file
3737
dependencies {
38-
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-offline-v7:0.6.0-SNAPSHOT'
38+
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-offline-v8:0.7.0-SNAPSHOT'
3939
}
4040
```
4141

plugin-places/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repositories {
2121
2222
// In the app build.gradle file
2323
dependencies {
24-
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-places-v7:0.8.0'
24+
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-places-v8:0.9.0'
2525
}
2626
```
2727

@@ -39,7 +39,7 @@ repositories {
3939
4040
// In the app build.gradle file
4141
dependencies {
42-
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-places-v7:0.9.0-SNAPSHOT'
42+
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-places-v8:0.10.0-SNAPSHOT'
4343
}
4444
```
4545

plugin-scalebar/README.md

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# Mapbox Scale Bar Plugin
2+
3+
The scale bar plugin adds a responsive scale bar on top of the map. The scale bar gives a visual indication of how far various map features are from one another at a certain zoom level. The scale bar can be customized with options such as the text color/size, referesh interval, margins, and border width.
4+
5+
![ezgif com-resize (2)](https://user-images.githubusercontent.com/8577318/57837052-89416280-77f4-11e9-9d97-f164737acd46.gif)
6+
7+
## Getting Started
8+
9+
To use the scale bar plugin, you include it in your `build.gradle` file.
10+
11+
```
12+
// In the root build.gradle file
13+
repositories {
14+
mavenCentral()
15+
}
16+
17+
...
18+
19+
// In the app build.gradle file
20+
dependencies {
21+
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-scalebar-v8:0.1.0'
22+
}
23+
```
24+
25+
The scale bar plugin is published to Maven Central and nightly SNAPSHOTs are available on Sonatype:
26+
27+
```
28+
// In the root build.gradle file
29+
repositories {
30+
mavenCentral()
31+
maven { url "http://oss.sonatype.org/content/repositories/snapshots/" }
32+
}
33+
34+
...
35+
36+
// In the app build.gradle file
37+
dependencies {
38+
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-scalebar-v8:0.2.0-SNAPSHOT'
39+
}
40+
```
41+
42+
## Scale bar plugin examples
43+
44+
- [In this repo's test app](https://github.com/mapbox/mapbox-plugins-android/blob/master/app/src/main/java/com/mapbox/mapboxsdk/plugins/testapp/activity/scalebar/ScalebarActivity.kt)
45+
46+
## Help and Usage
47+
48+
This repository includes an app that shows how to use each plugins in this repository. [Check out its code](https://github.com/mapbox/mapbox-plugins-android/tree/master/app/src/main/java/com/mapbox/mapboxsdk/plugins/testapp/activity) for ready-to-use snippets.
49+
50+
Plugins are easy to use. A plugin is simply a library module built on top of the Mapbox Maps SDK for Android. Currently, we are not requiring plugins to register themselves or to implement any specific interfaces so that they're simple to consume.
51+
52+
We'd love to [hear your feedback](https://github.com/mapbox/mapbox-plugins-android/issues) as we build more plugins and learn how you use them.
53+
54+
## Why Plugins
55+
56+
Splitting specific functionality into plugins makes our Maps SDK lighter and nimble for you to use, and it also lets us iterate faster. We can release plugins more often than the SDK, which requires a slower pace due to its larger codebase.
57+
58+
The Mapbox Android team creates plugins but this plugins repository is an open-source project similar to the various Mapbox SDKs for Android.
59+
Plugins' lightweight nature makes them much easier for you and anyone else to contribute rather than trying to add the same feature to the more robust Maps SDK. The Mapbox team can also more easily accept contributed plugins and keep the plugin list growing.
60+
61+
## Contributing
62+
63+
We welcome contributions to this plugin repository!
64+
65+
If you're interested in building and sharing your own plugin, please read [the contribution guide](https://github.com/mapbox/mapbox-plugins-android/blob/master/CONTRIBUTING.md) to learn how to get started.

plugin-traffic/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Mapbox traffic plugin
1+
# Mapbox Traffic Plugin
22

33
The traffic plugin adds a real-time traffic layer to any Mapbox basemap.
44

@@ -20,7 +20,7 @@ repositories {
2020
2121
// In the app build.gradle file
2222
dependencies {
23-
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-traffic-v7:0.8.0'
23+
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-traffic-v8:0.9.0'
2424
}
2525
```
2626

@@ -37,7 +37,7 @@ repositories {
3737
3838
// In the app build.gradle file
3939
dependencies {
40-
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-traffic-v7:0.9.0-SNAPSHOT'
40+
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-traffic-v8:0.10.0-SNAPSHOT'
4141
}
4242
```
4343

0 commit comments

Comments
 (0)