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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -