マップに追加した後、overlayMapType の不透明度を変更するにはどうすればよいですか?
var imgTypeOptions = {
getTileUrl: function (coord, zoom) {
return "myTile/" + f + ".png";
},
tileSize: new google.maps.Size(256, 256),
name: "Imagen",
opacity: .5 //This is Ok, the first time set the opacity
//but i want to change the opacity later
};
...
var imgMapType = new google.maps.ImageMapType(imgTypeOptions);
...
map.overlayMapTypes.insertAt(0, imgMapType);
リンク「25%」をクリックして、追加したレイヤーの不透明度を25%に設定できるようにしたい。