java - How to remove marker icon -
i've got marker info window. how can remove green finger map? @ this:
my code:
marker startmarker = new marker(mapview); startmarker.setposition(gpt); startmarker.seticon(null);//doesn't startmarker.setanchor(marker.anchor_center, 1.0f); infowindow infowindow = new myinfowindow(r.layout.bonuspack_bubble, mapview, company); startmarker.setinfowindow(infowindow); startmarker.settitle(company.getname()); startmarker.showinfowindow(); mapview.getoverlays().add(startmarker);
understanding want show infowindow, without marker icon: replace default "green finger" marker small transparent icon.
- small (1x1 px), infowindow sticks gpt position.
transparent user see nothing.
startmarker.seticon(mysmalltransparenticon);
Comments
Post a Comment