Skip to content

Commit d829488

Browse files
committed
Fix numbering in numbered list.
The numbering is not working correctly when using '1' for every number in the numbered list as recommended in the [contributor guide](https://review.docs.microsoft.com/help/contribute/contribute-how-to-mvc-lists-bullets?branch=master#when-should-i-use-numbered-lists), changing to sequential numbers seems to fix this (if the preview in Visual Studio Code is accurate.
1 parent 8b6ff7e commit d829488

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

articles/azure-maps/quick-android-map.md

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ The next step in building your application is to install the Azure Maps Android
110110
maven {url "https://atlas.microsoft.com/sdk/android"}
111111
```
112112
113-
1. In the same project settings file **settings.gradle**, change repositoriesMode to `PREFER_SETTINGS`:
113+
2. In the same project settings file **settings.gradle**, change repositoriesMode to `PREFER_SETTINGS`:
114114
115115
```gradle
116116
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
@@ -120,7 +120,7 @@ The next step in building your application is to install the Azure Maps Android
120120
121121
:::image type="content" source="./media/quick-android-map/project-settings-file.png" alt-text="A screenshot of the project settings file in Android Studio.":::
122122
123-
1. Open the application **build.gradle** file and do the following:
123+
3. Open the application **build.gradle** file and do the following:
124124
125125
1. Verify your project's **minSdk** is **21** or higher.
126126
@@ -143,7 +143,7 @@ The next step in building your application is to install the Azure Maps Android
143143
144144
:::image type="content" source="./media/quick-android-map/build-gradle-file.png" alt-text="A screenshot showing the application build dot gradle file in Android Studio.":::
145145
146-
1. Add a map fragment to the main activity:
146+
4. Add a map fragment to the main activity:
147147
148148
```xml
149149
<com.azure.android.maps.control.MapControl
@@ -159,7 +159,7 @@ The next step in building your application is to install the Azure Maps Android
159159
160160
::: zone pivot="programming-language-java-android"
161161
162-
1. In the **MainActivity.java** file you'll need to:
162+
5. In the **MainActivity.java** file you'll need to:
163163
164164
* Add imports for the Azure Maps SDK.
165165
* Set your Azure Maps authentication information.
@@ -267,7 +267,7 @@ The next step in building your application is to install the Azure Maps Android
267267
268268
::: zone pivot="programming-language-kotlin"
269269
270-
1. In the **MainActivity.kt** file you'll need to:
270+
5. In the **MainActivity.kt** file you'll need to:
271271
272272
* add imports for the Azure Maps SDK
273273
* set your Azure Maps authentication information
@@ -361,20 +361,19 @@ The next step in building your application is to install the Azure Maps Android
361361
}
362362
```
363363
364-
<!-------------------------------------------------------------------------------------------------------
365-
If you need a map with no borders, such as is shown in the screenshot of the map used in this article,
366-
replace 'mapControl?.onReady(OnReady { map: AzureMap ->})' in the above code sample with the following:
367-
368-
mapControl?.onReady(OnReady { map: AzureMap ->
369-
var layers = map.layers.layerIds.toString();
370-
var transitLayer = map.layers.getById("transit");
371-
map.layers.remove(transitLayer);
372-
})
373-
----------------------------------------------------------------------------------------------------------->
364+
<!-------------------------------------------------------------------------------------------------------
365+
If you need a map with no borders, such as is shown in the screenshot of the map used in this article,
366+
replace 'mapControl?.onReady(OnReady { map: AzureMap ->})' in the above code sample with the following:
367+
mapControl?.onReady(OnReady { map: AzureMap ->
368+
var layers = map.layers.layerIds.toString();
369+
var transitLayer = map.layers.getById("transit");
370+
map.layers.remove(transitLayer);
371+
})
372+
----------------------------------------------------------------------------------------------------------->
374373
375374
::: zone-end
376375
377-
1. Select the run button from the toolbar, as shown in the following image (or press `Control` + `R` on a Mac), to build your application.
376+
6. Select the run button from the toolbar, as shown in the following image (or press `Control` + `R` on a Mac), to build your application.
378377
379378
:::image type="content" source="media/quick-android-map/run-app.png" alt-text="A screenshot showing the run button in Android Studio.":::
380379

0 commit comments

Comments
 (0)