在google map上添加点(V3)

  var marker = new google.maps.Marker({
  position: new google.maps.LatLng(37.2588, 127.0535),
  icon: {
    path: google.maps.SymbolPath.CIRCLE,
    fillOpacity: 1.0,
    fillColor: '#ff0000',
    strokeOpacity: 0.0,
    strokeColor: '#ffffff',
    strokeWeight: 1.0,
    scale: 10
  }
 
});
marker.setMap(map);

你可能感兴趣的:(在google map上添加点(V3))