谷歌地图:如何将标记绘制为圆形边框图像?

时间:2017-03-24 10:30:18

标签: jquery google-maps google-maps-api-3

我正在使用这个jquery lib: http://tilotiti.github.io/jQuery-Google-Map/

我获得的结果是:

enter image description here

我希望这张照片是边框圆角(圆圈)

有没有办法实现这个目标?

1 个答案:

答案 0 :(得分:-1)

如果图片为<img src=''>标记,则尝试应用其中一个css

HTML

<img class="round_img" src="your image">

CSS

.round_img {
    border:1px solid blue;
    border-radius: 50%;
    max-width:200px;
}

OR

.round_img {
    border-radius: 50%;
} 
相关问题