Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
默认情况下,openlayers 3 缩放控件位于左上角。我怎样才能把它移到右上角?进入选项时,API 似乎返回了一个断开的链接。
使用级联样式表。您需要取消设置以前的“左”值。
.ol-zoom { left: unset; right: 8px; }
使用级联样式表。
.ol-zoom { right: 8px }