added ability to specify sprite in marker #1716

This commit is contained in:
Nicholas Hallahan
2015-07-17 08:25:48 -07:00
parent ed650b4128
commit aafcdd2ef0
5 changed files with 69 additions and 9 deletions

View File

@@ -300,6 +300,7 @@ public class MainActivity extends ActionBarActivity {
LatLng cheeseRoom = new LatLng(38.531577,-122.010646);
map.addMarker(new MarkerOptions()
.position(cheeseRoom)
.sprite("dog-park-15")
.title("Cheese Room")
.snippet("The only air conditioned room on the property!"));
}