![](/img/trans.png)
[英]How to add touch and hold event on svg on Google Map in Sencha Touch
[英]How to get circle markerimage google map in sencha touch
var markerImage = new google.maps.MarkerImage( images/beachflag.png );
var marker = new google.maps.Marker ({ map: googleMapComp, position: storeResult_coords, icon: markerImage, title: title, animation: google.maps.Animation.DROP });
將圓形的Google Map標記定制化
根據這個例子
我能夠成功實現此功能https://jsfiddle.net/uaxb76f8/12/
.gm-style img {
max-width: none;
border-radius: 25px !important;
}
根據此示例https://developers.google.com/maps/documentation/javascript/examples/marker-symbol-predefined,您的圖標應如下所示:
icon: {
path: google.maps.SymbolPath.CIRCLE,
scale: 10
}
我是否正確理解您的問題?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.