很快有人使用本机googlemaps插件来托管很多2/3离子标记。谢谢。
那就是如何向您添加标记的映射。您需要先构建您的地图。
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);
}