

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

# 按语言划分的地图渲染 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 前端应用程序开发。


| 语言/框架 | 地图渲染框架 | 
| --- | --- | 
|  **完全支持**  | 
|  JavaScript  |  [https://github.com/maplibre/maplibre-gl-js](https://github.com/maplibre/maplibre-gl-js)  | 
|  ReactJS  |  [https://github.com/maplibre/maplibre-react-native](https://github.com/maplibre/maplibre-react-native)  | 
|  TypeScript  |  [https://github.com/maplibre/maplibre-gl-js](https://github.com/maplibre/maplibre-gl-js)  | 
|  **部分支持**  | 
|  Flutter  |  [https://github.com/maplibre/flutter-maplibre-gl](https://github.com/maplibre/flutter-maplibre-gl) MapLibre Flutter 库被视为实验性质。  | 
|  Node.js  |   Node.js 不支持 MapLibre。  | 
|  PHP  |   MapLibre 不支持 PHP。  | 

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

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


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

------