Skip to content

12.1.2

Choose a tag to compare

@songyumeng songyumeng released this 20 Oct 10:25
· 15 commits to master since this release

API changes

for Leaflet

  • L.supermap.tiledMapLayer 支持通过 options.displayFilters 参数设置图层的显示过滤条件
  • L.supermap.tiledMapLayer 支持通过 options.bufferTiles 参数设置在屏幕范围外预加载的瓦片圈数,可减少因平移时瓦片未及时加载产生的空白瓦片区域
  • L.supermap.tiledMapLayer 支持通过 options.tileCache 参数启用客户端瓦片缓存,开启后缩放时优先使用已缓存的瓦片填充,可避免因放大、缩小、平移时瓦片未及时加载产生的空白瓦片区域

for OpenLayers

for MapboxGL

  • MapboxGL raster source 支持通过 options.displayFilters 参数设置图层的显示过滤条件(需使用 mapbox-gl-enhance )
  • mapboxgl.supermap.VideoMap 支持加载展示 SuperMap iServer 发布的含有配准后无人机拍摄视频文件的 REST 数据服务
  • mapboxgl.supermap.VideoMap 新增 getVideoBounds() 方法用于获取视频的地理范围
  • 新增 mapboxgl.supermap.VideoPlayControl 控件,用于控制mapboxgl.supermap.VideoMap、 mapboxgl.supermap.VideoLayer中视频的播放与暂停
  • 新增 mapboxgl.supermap.VideoMapDrawControl 控件,用于在mapboxgl.supermap.VideoMap上进行点、线和面矢量标绘

for MaplibreGL

  • MaplibreGL raster source 支持通过 options.displayFilters 参数设置图层的显示过滤条件(需使用 maplibre-gl-enhance )