我在 map 上没有任何缩放按钮
<openlayers ol-center="center" height="345px" width="560px">
<ol-marker ol-marker-properties="coords"><ol-marker>
</openlayers>
我该如何展示它们?正负
我使用 angular openlayer 指令
最佳答案
你需要导入css文件
<link rel="stylesheet" href="https://openlayers.org/en/v4.6.5/css/ol.css" type="text/css">
关于angularjs - 在 openlayer Angular 指令缩放按钮不显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50847383/