您好,Leaflet引用多个控件,可以写在一条引用中,用逗号隔开,例如:
<script type="text/javascript" include="leaflet.draw, miniMap" src="libs/dist/include-leaflet.js"></script>
可以参考这个示例中的引用:https://iclient.supermap.io/examples/leaflet/editor.html#turf_measurement
不好意思,我上面写的引用不对,应该是:<script type="text/javascript" include="leaflet.draw,leaflet.miniMap" src="../../dist/leaflet/include-leaflet.js"></script>