-1
誰かがすぐにネイティブのGoogleMapsプラグインで2/3のイオンマーカーをたくさんホストするためにClusterMarkersを使いました。ありがとうございました。ClusterMarkers Ionic 2/3ネイティブGoogleMaps
誰かがすぐにネイティブのGoogleMapsプラグインで2/3のイオンマーカーをたくさんホストするためにClusterMarkersを使いました。ありがとうございました。ClusterMarkers Ionic 2/3ネイティブGoogleMaps
それはあなたにマップを追加する方法です。あなたが最初に地図を作成する必要がありますケア。
addMarker() {
// costum image
//let image = 'https://developers.google.com/maps/documentation/javascript/examples/full/images/beachflag.png';
let marker = new google.maps.Marker({
map: this.map,
animation: google.maps.Animation.DROP,
position: this.map.getCenter()
//,icon: image
});
let content = "<h4>Information!</h4>";
this.addInfoWindow(marker, content);
}