Skip to content

Placement 定位容器

可用于在父容器的指定位置放置需要的元素。

<mapgis-ui-placement></mapgis-ui-placement>

基本用法

API

属性

参数说明类型默认值版本
position位置top-right|top-left|bottom-right|bottom-left|top-center|bottom-center|center-right|center-left|center-centerbottom-right
offset偏移,单位像素,数组结构,两个元素都是 number,[top&bottom, left&right]array
zIndex层次顺序number