いくつかのポリゴンとその名前のHTMLリストを作成しました。リスト内の名前の上にマウスを置いたときに、ポリゴンの不透明度を変更したいと思います。
...
<li><a href="#" data-poly="polyID" class="hoverPoly">City</a></a>
...
$('.hoverPoly').live('onmouseover',function(){
var polyName = $(this).attr('data-poly');
// var gmap is reference to google map
// I want find polygon with polyName
})
として設定されたポリゴン
function initialize(){
...
var poly_444555 = new google.maps.Polygon({
...
name:'polyID', // this is id for external access
})
}