📜  传单添加比例 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:52.004000             🧑  作者: Mango

代码示例1
addScaleBar(map, position = c("topright", "bottomright", "bottomleft",
  "topleft"), options = scaleBarOptions())

scaleBarOptions(maxWidth = 100, metric = TRUE, imperial = TRUE,
  updateWhenIdle = TRUE)

removeScaleBar(map)