

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 按语言划分的地图渲染 SDK
<a name="map-rendering-by-language"></a>

建议使用 [MapLibre](https://github.com/maplibre/maplibre-gl-js) 渲染引擎渲染 Amazon Location Service 地图。

MapLibre 是一款用于在 Web 或移动应用程序中显示地图的引擎。MapLibre 还具有插件模型，并支持某些语言和平台的用户界面进行搜索和路线规划。

要了解有关 MapLibre 及其提供的功能的更多信息，请参阅[将 MapLibre 工具和相关库与 Amazon Location 结合使用](dev-maplibre.md)和[如何使用动态地图](dynamic-maps-how-to.md)。

下表按应用程序类型（Web 或移动应用程序）提供了有关语言和框架的地图渲染 SDK 版本的信息。

------
#### [ Web frontend ]

以下地图渲染 SDK 可用于 Web 前端应用程序开发。


<table>
<thead>
  <tr><th>语言/框架</th><th>地图渲染框架</th></tr>
</thead>
<tbody>
  <tr><td colspan="2">**完全支持**</td></tr>
  <tr><td>JavaScript</td><td>[https://github.com/maplibre/maplibre-gl-js](https://github.com/maplibre/maplibre-gl-js)</td></tr>
  <tr><td>ReactJS</td><td>[https://github.com/maplibre/maplibre-react-native](https://github.com/maplibre/maplibre-react-native)</td></tr>
  <tr><td>TypeScript</td><td>[https://github.com/maplibre/maplibre-gl-js](https://github.com/maplibre/maplibre-gl-js)</td></tr>
  <tr><td colspan="2">**部分支持**</td></tr>
  <tr><td>Flutter</td><td>[https://github.com/maplibre/flutter-maplibre-gl](https://github.com/maplibre/flutter-maplibre-gl)<br />MapLibre Flutter 库被视为实验性质。</td></tr>
  <tr><td>Node.js</td><td> Node.js 不支持 MapLibre。</td></tr>
  <tr><td>PHP</td><td> MapLibre 不支持 PHP。</td></tr>
</tbody>
</table>


------
#### [ Mobile frontend ]

以下地图渲染 SDK 可用于移动前端应用程序开发。


<table>
<thead>
  <tr><th>语言/框架</th><th>地图渲染框架</th></tr>
</thead>
<tbody>
  <tr><td colspan="2">**完全支持**</td></tr>
  <tr><td>Java</td><td>[https://github.com/maplibre/maplibre-native](https://github.com/maplibre/maplibre-native)</td></tr>
  <tr><td>Kotlin</td><td>[https://github.com/maplibre/maplibre-native](https://github.com/maplibre/maplibre-native)<br />需要自定义绑定，因为 MapLibre 是基于 Java 的。</td></tr>
  <tr><td>ObjectiveC</td><td>[https://github.com/maplibre/maplibre-native](https://github.com/maplibre/maplibre-native)</td></tr>
  <tr><td>ReactNative</td><td>[https://github.com/maplibre/maplibre-react-native](https://github.com/maplibre/maplibre-react-native)</td></tr>
  <tr><td>Swift</td><td>[https://github.com/maplibre/maplibre-native](https://github.com/maplibre/maplibre-native)</td></tr>
  <tr><td colspan="2">**部分支持**</td></tr>
  <tr><td>Flutter</td><td>[https://github.com/maplibre/flutter-maplibre-gl](https://github.com/maplibre/flutter-maplibre-gl)<br />MapLibre Flutter 库被视为实验性质。</td></tr>
</tbody>
</table>


------