在 openlayer angular 指令缩放按钮不显示
in openlayer angular directive zoom buttons does not show
我在地图上没有任何缩放按钮
<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">
我在地图上没有任何缩放按钮
<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">