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/set-android-map-styles.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
@@ -57,7 +57,7 @@ The `mapcontrol_style` attribute above sets the map style to **grayscale_dark**.
57
57
Map style can be set in the activity class. Copy the following code snippet into the **onCreate()** method of your `MainActivity.java` class. This will set the map style to **satellite_road_labels**.
Copy file name to clipboardExpand all lines: articles/azure-maps/supported-browsers.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
@@ -14,8 +14,8 @@ manager: cpendleton
14
14
15
15
The Azure Maps Web SDK provides a helper function called [atlas.isSupported](https://docs.microsoft.com/javascript/api/azure-maps-control/atlas?view=azure-iot-typescript-latest#issupported-boolean-). This function detects whether a web browser has the minimum set of WebGL features required to support loading and rendering the map control. Here's an example of how to use the function:
16
16
17
-
```
18
-
if(!atlas.isSupported()) {
17
+
```JavaScript
18
+
if(!atlas.isSupported()) {
19
19
alert('Your browser is not supported by Azure Maps');
20
20
} elseif(!atlas.isSupported(true)) {
21
21
alert('Your browser is supported by Azure Maps, but may have major performance caveats.');
0 commit comments