Skip to content

Commit 9fe1d7d

Browse files
author
Scott Kang
committed
update section titles
1 parent 284d52c commit 9fe1d7d

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

articles/azure-maps/android-sdk-migration-guide.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To use the Map Control in a web page, you must have one of the following prerequ
2020
* An [Azure Maps account].
2121
* A [subscription key] or Microsoft Entra credentials. For more information, see [authentication options].
2222

23-
### 1. Create a WebView
23+
## Create a WebView
2424

2525
If your Android application doesn't already have a WebView, you need to add one. You can do so by adding the WebView element to your layout XML or programmatically in your Java code. Make sure to set up the WebView to occupy the desired area of your layout.
2626

@@ -76,7 +76,7 @@ public class MainActivity extends AppCompatActivity {
7676
}
7777
```
7878

79-
### 2. Set up a map with Azure Maps Web SDK
79+
## Set up a map with Azure Maps Web SDK
8080

8181
In your HTML file, initialize a map with your subscription key. Replace `<YOUR_SUBSCRIPTION_KEY>` with your actual key.
8282

@@ -138,15 +138,15 @@ Save and run the app. A map should be shown within a WebView. Add any features o
138138

139139
:::image type="content" source="./media/android-sdk-migration-guide/maps-android.png" alt-text="A screenshot of a map in a WebView.":::
140140

141-
### 3. Communication between native code and WebView (optional)
141+
## Communication between native code and WebView (optional)
142142

143143
To enable communication between your Android application and the WebView, you can use the WebView's `addJavascriptInterface` method to expose a Java object to the JavaScript running in the WebView. It allows you to call Java methods from your JavaScript code. For more information, see the [Android WebView documentation].
144144

145-
### 4. Clean Up Native Map Implementation
145+
## Clean Up Native Map Implementation
146146

147147
Remove the code related to the native Azure Maps Android SDK from your project. This includes dependencies and initialization code related to `com.azure.android:azure-maps-control`.
148148

149-
### 5. Testing
149+
## Testing
150150

151151
Test your application thoroughly to ensure that the migration has been successful. Check for any issues related to map functionality, user interactions, and performance.
152152

articles/azure-maps/ios-sdk-migration-guide.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To use the Map Control in a web page, you must have one of the following prerequ
2020
* An [Azure Maps account].
2121
* A [subscription key] or Microsoft Entra credentials. For more information, see [authentication options].
2222

23-
### 1. Create a WebView
23+
## Create a WebView
2424

2525
If your iOS application doesn't already have a WebView, you need to add one. You can do so by adding a WKWebView to your storyboard or programmatically in your Swift code. Make sure to set up the WKWebView to occupy the desired area of your view.
2626

@@ -59,7 +59,7 @@ class ViewController: UIViewController, WKNavigationDelegate {
5959
}
6060
```
6161

62-
### 2. Set up a map with Azure Maps Web SDK
62+
## Set up a map with Azure Maps Web SDK
6363

6464
In your HTML file, initialize a map with your subscription key. Replace `<YOUR_SUBSCRIPTION_KEY>` with your actual key.
6565

@@ -121,15 +121,15 @@ Save and run the app. A map should be shown within a WebView. Add any features o
121121

122122
:::image type="content" source="./media/ios-sdk-migration-guide/maps-ios.png" alt-text="A screenshot of a map in a WebView.":::
123123

124-
### 3. Communication between native code and WebView (optional)
124+
## Communication between native code and WebView (optional)
125125

126126
To enable communication between your iOS application and the WebView, you can use the `WKScriptMessageHandler` protocol provided by the `WKWebView` class. It allows you to establish a bridge for communication between JavaScript running in the WebView and your Swift code. For more information, see the [iOS webkit documentation].
127127

128-
### 4. Clean Up Native Map Implementation
128+
## Clean Up Native Map Implementation
129129

130130
Remove the code related to the native Azure Maps iOS SDK from your project. This includes dependencies and initialization code related to `azure-maps-ios-sdk-distribution`.
131131

132-
### 5. Testing
132+
## Testing
133133

134134
Test your application thoroughly to ensure that the migration has been successful. Check for any issues related to map functionality, user interactions, and performance.
135135

articles/azure-maps/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ items:
181181
href: how-to-dev-guide-java-sdk.md
182182
- name: Develop with the Web SDK
183183
items:
184-
- name: Web SDK v1 migration guide
184+
- name: Web SDK migration guide
185185
href: web-sdk-migration-guide.md
186186
- name: Map control
187187
items:

0 commit comments

Comments
 (0)