arcgis api4.X 缩放按钮位置 bottom-right

    技术2022-07-13  87

    将缩放放置到右下固定位置 代码灵感来源(不要问我为什么是灵感 因为写这个全靠乱写 能实现就行) 两句话

    view.ui.move("zoom", "bottom-right"); view.ui.padding = { top: 0, left: 0, right: 15, bottom: 215};

    但是这个视图就变成了这样子 esri-ui-inner-container esri-ui-corner-container 不知道后续会不会有什么影响 再说吧 然后就出事了 后面添加的这个比例尺就变成了 这个位置

    Processed: 0.015, SQL: 10