createWorldImagery

为离子的默认全局基础图像层创建一个BMImageryProvider实例。
Parameters:
options (Object)
Name Description
options.mapId
(WorldImageryStyle | String)
default WorldImageryStyle
基本图像的映射ID。
Examples
// Create World Terrain with default settings
var viewer = new bmgl.Viewer('container', {
    imageryProvider : bmgl.createWorldImagery();
});
// Create World Terrain with water and normals.
var viewer = new bmgl.Viewer('container', {
    imageryProvider : bmgl.createWorldImagery({
        mapId: bmgl.WorldImageryStyle.SATELLITE
    })
});
See:
  • Config