使用谷歌地图在StyledMarker中标记不透明度

时间:2013-05-07 16:34:29

标签: google-maps google-maps-markers

我正在使用this库动态生成我的标记,因为dynamic icons已弃用。现在,在这个API中,没有可能设置标记opacity ..这对我的应用程序至关重要。目前我正在以这种方式加载标记:

var marker = new StyledMarker({
    styleIcon:new StyledIcon(StyledIconTypes.MARKER,
                            {color:generateColor()}),
    position:new google.maps.LatLng(lat,lon),map:map});

我无法找到解决方案,我认为我将不得不切换到静态生成的标记.. :(

0 个答案:

没有答案
相关问题