You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-maps/choose-map-style.md
+71-4Lines changed: 71 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ var map = new atlas.Map('map', {
27
27
style:'road'
28
28
29
29
//Additional map options.
30
-
};
30
+
});
31
31
32
32
//Update the style options at anytime using `setStyle` function.
33
33
map.setStyle({
@@ -37,8 +37,6 @@ map.setStyle({
37
37
});
38
38
```
39
39
40
-
For a fully functional sample that shows how the different styles affect how the map is rendered, see [Map style options] in the [Azure Maps Samples]. For the source code for this sample, see [Map style options source code].
@@ -57,7 +55,7 @@ var map = new atlas.Map('map', {
57
55
style:'grayscale_dark',
58
56
59
57
//Additional map options
60
-
);
58
+
});
61
59
```
62
60
63
61
:::image type="content" source="./media/choose-map-style/set-base-map-style-on-initialization.png" alt-text="Screenshot showing the grayscale dark style being set during the map load process.":::
The [styleOverrides] options enable users to streamline the base map by turning off specific map elements like country/region borders, administrative district borders, building footprints, and road detail layers. This allows for a cleaner and simpler map view, making it easier to visualize geometry data.
88
+
89
+
The following code shows how to disable country/region borders and building footprints on the map.
90
+
91
+
```javascript
92
+
var map =newatlas.Map('map', {
93
+
styleOverrides: {
94
+
countryRegion: { borderVisible:false },
95
+
buildingFootprint: { visible:false },
96
+
},
97
+
98
+
//Additional map options
99
+
});
100
+
```
101
+
102
+
Here are examples of all five available `styleOverrides` options:
103
+
104
+
- Country/region borders
105
+
106
+
```javascript
107
+
styleOverrides: {
108
+
countryRegion: { borderVisible:false }
109
+
}
110
+
```
111
+
:::image type="content" source="./media/choose-map-style/country-region.gif" alt-text="An animated GIF that shows country/region borders on a map.":::
112
+
113
+
- Admin district borders
114
+
115
+
```javascript
116
+
styleOverrides: {
117
+
adminDistrict: { borderVisible:false }
118
+
}
119
+
```
120
+
:::image type="content" source="./media/choose-map-style/admin-district.gif" alt-text="An animated GIF that shows admin district borders.":::
121
+
122
+
- Second admin district borders
123
+
124
+
```javascript
125
+
styleOverrides: {
126
+
adminDistrict2: { borderVisible:false }
127
+
}
128
+
```
129
+
:::image type="content" source="./media/choose-map-style/admin-district-2.gif" alt-text="An animated GIF that shows second admin district borders.":::
130
+
131
+
- Building footprints
132
+
133
+
```javascript
134
+
styleOverrides: {
135
+
buildingFootprint: { visible:false }
136
+
}
137
+
```
138
+
:::image type="content" source="./media/choose-map-style/building-footprint.gif" alt-text="An animated GIF that shows building footprints.":::
139
+
140
+
- Road details
141
+
142
+
```javascript
143
+
styleOverrides: {
144
+
roadDetails: { visible:false }
145
+
}
146
+
```
147
+
:::image type="content" source="./media/choose-map-style/road-details.gif" alt-text="An animated GIF that shows road details.":::
148
+
149
+
> [!NOTE]
150
+
> For more information on the supported map styles on each `styleOverrides` option, see the [styleOverrides] API documentation.
151
+
152
+
For a sample showing the different styles and how they affect how the map is rendered, see [Map style options] in the [Azure Maps Samples]. For this sample's source code, see [Map style options source code].
153
+
88
154
## Add the style picker control
89
155
90
156
The style picker control provides an easy to use button with flyout panel that can be used by the end user to switch between base styles.
@@ -154,6 +220,7 @@ See the following articles for more code samples to add to your maps:
Copy file name to clipboardExpand all lines: articles/azure-vmware/introduction.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,9 +53,8 @@ When a customer has a deployed Azure VMware Solution private cloud, they can sca
53
53
54
54
**Azure VMware Solution stretched clusters private cloud**: The AV64 SKU isn't supported with Azure VMware Solution stretched clusters private cloud. This means that an AV64-based expansion isn't possible for an Azure VMware Solution stretched clusters private cloud.
55
55
56
-
[!NOTE]
57
-
58
-
All traffic from an AV64 host towards a customer network will utilize the IP address of the VMKernel Network Interface 1.
56
+
> [!NOTE]
57
+
> All traffic from an AV64 host towards a customer network will utilize the IP address of the VMKernel Network Interface 1.
59
58
60
59
### AV64 Cluster vSAN fault domain (FD) design and recommendations
Copy file name to clipboardExpand all lines: articles/azure-web-pubsub/socket-io-serverless-tutorial.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ You should follow the steps to initiate a local Azure Function project.
98
98
});
99
99
```
100
100
101
-
This step creates a function `negotiate` with Http Trigger and `SocketIONegotiation` output binding, which means you can use an Http call to trigger the function and return a negotiation result that generated by `SocketIONegotiation` binding.
101
+
This step creates a function `negotiate` with HTTP Trigger and `SocketIONegotiation` output binding, which means you can use an HTTP call to trigger the function and return a negotiation result that generated by `SocketIONegotiation` binding.
102
102
103
103
1. Create a function for handing messages.
104
104
@@ -219,7 +219,7 @@ You should follow the steps to initiate a local Azure Function project.
219
219
220
220
async function index(request, context) {
221
221
try {
222
-
context.log(`Http function processed request for url "${request.url}"`);
222
+
context.log(`HTTP function processed request for url "${request.url}"`);
Copy file name to clipboardExpand all lines: articles/communication-services/tutorials/calling-widget/calling-widget-js-tutorial.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -158,8 +158,8 @@ Next you want to open `index.html` in VS Code and add the following snippet.
158
158
</body>
159
159
```
160
160
161
-
[!IMPORTANT]
162
-
It's important here to note that this file `index.html` and the JavaScript bundle `outboundCallComposite.js` need to be in the same folder if you wish to not edit any of the importing in this file.
161
+
> [!IMPORTANT]
162
+
> It's important here to note that this file `index.html` and the JavaScript bundle `outboundCallComposite.js` need to be in the same folder if you wish to not edit any of the importing in this file.
163
163
164
164
#### 3. Setting up Azure Communication Services and your Teams Voice Application
This script using Node starts an HTTP server and hosts the `index.html` file and JavaScript bundle. In a browser open http://localhost:3000. You should see a white page with a button, and when you click it you should see the following screen.
199
199
200
-
[!IMPORTANT]
201
-
Note, if you try to go to the page not using local host, your calling experience won't work due to security reasons.
200
+
> [!IMPORTANT]
201
+
> Note, if you try to go to the page not using local host, your calling experience won't work due to security reasons.
202
202
203
203
[](../media/calling-widget/js-bundle-splash.png#lightbox)
Copy file name to clipboardExpand all lines: articles/container-apps/tutorial-ci-cd-runners-jobs.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -609,7 +609,7 @@ Create a new agent pool to run the self-hosted runner.
609
609
610
610
To run a self-hosted runner, you need to create a personal access token (PAT) in Azure DevOps. The PAT is used to authenticate the runner with Azure DevOps. It's also used by the scale rule to determine the number of pending pipeline runs and trigger new job executions.
611
611
612
-
[!NOTE]
612
+
>[!NOTE]
613
613
> Personal Access Tokens (PATs) have an expiration date. Regularly rotate your tokens to ensure they remain valid (not expired) to maintain uninterrupted service.
614
614
615
615
1. In Azure DevOps, select*User settings* next to your profile picture in the upper-right corner.
0 commit comments