new MapLegendService()
地图图例构造函数
Methods
-
<async> getSvgResource(style)
-
获取图标资源
Parameters:
Name Type Description styleObject 矢量样式 Returns:
- Type
- Promise.<String>
-
<async> getUrlResource(symbol)
-
获取图标资源
Parameters:
Name Type Description symbolString 图标符号 Returns:
- Type
- Promise.<String>