📜  {} - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:20.699000             🧑  作者: Mango

代码示例2
var path = [[-12.040397656836609,-77.03373871559225],    [-12.044804866577001,-77.02154422636042]];

polygon = map.drawPolygon({
  paths: path, // pre-defined polygon shape
  strokeColor: '#BBD8E9',
  strokeOpacity: 1,
  strokeWeight: 3,
  fillColor: '#BBD8E9',
  fillOpacity: 0.6
});