HiFleet Map SDK ver.5.1.343

引入 sdk

<script  src="https://sdk.hifleet.com/sdk/get?key=KEY"></script>

KEY申请 请联系sales@hifleet.com

获取sdk实例

<!--html-->
<div id="map"></div>
<!--script-->
<script>
  let app = hifleet.create({ el: "map" })//initialize the map sdk 
</script>

leaflet

本sdk基于leaflet.js 1.7.1 leaflet文档

<script>
  let app = hifleet.create({ el: "map" })//initialize the map sdk
  let map = app.getMap(); // leaflet map object
</script>

vue.js 整合示例

示例在线

react.js 整合示例

示例在线

English Document

English