|
1 | 1 | ---
|
2 |
| -title: Web SDK supported browsers | Microsoft Azure Maps |
| 2 | +title: Web SDK supported browsers |
| 3 | +titleSuffix: Microsoft Azure Maps |
3 | 4 | description: Find out how to check whether the Azure Maps Web SDK supports a browser. View a list of supported browsers. Learn how to use map services with legacy browsers.
|
4 | 5 | author: eriklindeman
|
5 | 6 | ms.author: eriklind
|
6 |
| -ms.date: 03/25/2019 |
7 |
| -ms.topic: conceptual |
| 7 | +ms.date: 06/22/2023 |
| 8 | +ms.topic: how-to |
8 | 9 | ms.service: azure-maps
|
9 | 10 | ms.custom: devx-track-js
|
10 | 11 | ---
|
@@ -57,23 +58,32 @@ The following Web SDK modules are also supported in Node.js:
|
57 | 58 |
|
58 | 59 | ## <a name="Target-Legacy-Browsers"></a>Target legacy browsers
|
59 | 60 |
|
60 |
| -You might want to target older browsers that don't support WebGL or that have only limited support for it. In such cases, we recommend that you use Azure Maps services together with an open-source map control like [Leaflet](https://leafletjs.com/). Here's an example that makes use of the open source [Azure Maps Leaflet plugin](https://github.com/azure-samples/azure-maps-leaflet). |
| 61 | +You might want to target older browsers that don't support WebGL or that have only limited support for it. In such cases, you can use Azure Maps services together with an open-source map control like [Leaflet](https://leafletjs.com/). |
61 | 62 |
|
62 |
| -<br/> |
| 63 | +The [Render Azure Maps in Leaflet] Azure Maps sample shows how to render Azure Maps Raster Tiles in the Leaflet JS map control. This sample uses the open source [Azure Maps Leaflet plugin]. For the source code for this sample, see [Render Azure Maps in Leaflet sample source code]. |
63 | 64 |
|
| 65 | +<!---------------------------------------- |
64 | 66 | <iframe height="500" scrolling="no" title="Azure Maps + Leaflet" src="//codepen.io/azuremaps/embed/GeLgyx/?height=500&theme-id=0&default-tab=html,result" frameborder="no" allowtransparency="true" allowfullscreen="true">
|
65 | 67 | See the Pen <a href='https://codepen.io/azuremaps/pen/GeLgyx/'>Azure Maps + Leaflet</a> by Azure Maps
|
66 |
| - (<a href='https://codepen.io/azuremaps'>@azuremaps</a>) on <a href='https://codepen.io'>CodePen</a>. |
67 |
| -</iframe> |
| 68 | + (<a href='https://codepen.io/azuremaps'>@azuremaps</a>) on <a href='https://codepen.io'>CodePen</a>.</iframe> |
| 69 | +----------------------------------------> |
68 | 70 |
|
69 |
| -For code samples using Azure Maps in Leaflet, see [Azure Maps Samples](https://samples.azuremaps.com/?search=leaflet). |
| 71 | +For more code samples using Azure Maps in Leaflet, see [Azure Maps Samples]. |
70 | 72 |
|
71 |
| -For a list of third-party map control plug-ins, see [Azure Maps community - Open-source projects](open-source-projects.md#third-part-map-control-plugins). |
| 73 | +For a list of third-party map control plug-ins, see [Azure Maps community - Open-source projects]. |
72 | 74 |
|
73 | 75 | ## Next steps
|
74 | 76 |
|
75 | 77 | Learn more about the Azure Maps Web SDK:
|
76 | 78 |
|
77 |
| -[Map control](how-to-use-map-control.md) |
| 79 | +> [!div class="nextstepaction"] |
| 80 | +> [Map control](how-to-use-map-control.md) |
78 | 81 |
|
79 |
| -[Services module](how-to-use-services-module.md) |
| 82 | +> [!div class="nextstepaction"] |
| 83 | +> [Services module](how-to-use-services-module.md) |
| 84 | +
|
| 85 | +[Render Azure Maps in Leaflet]: https://samples.azuremaps.com/third-party-map-controls/render-azure-maps-in-leaflet |
| 86 | +[Render Azure Maps in Leaflet sample source code]: https://github.com/Azure-Samples/AzureMapsCodeSamples/blob/main/Samples/Third%20Party%20Map%20Controls/Render%20Azure%20Maps%20in%20Leaflet/Render%20Azure%20Maps%20in%20Leaflet.html |
| 87 | +[Azure Maps Leaflet plugin]: https://github.com/azure-samples/azure-maps-leaflet |
| 88 | +[Azure Maps Samples]: https://samples.azuremaps.com/?search=leaflet |
| 89 | +[Azure Maps community - Open-source projects]: open-source-projects.md#third-part-map-control-plugins |
0 commit comments