java - How to remove marker icon -


i've got marker info window. how can remove green finger map? @ this:

enter image description here

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

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -