Skip to content

Instantly share code, notes, and snippets.

@ddewaele
Created June 25, 2013 20:14
Show Gist options
  • Select an option

  • Save ddewaele/5861948 to your computer and use it in GitHub Desktop.

Select an option

Save ddewaele/5861948 to your computer and use it in GitHub Desktop.
public void addMarkerToMap(LatLng latLng) {
	Marker marker = googleMap.addMarker(new MarkerOptions().position(latLng)
			 .title("title")
			 .snippet("snippet"));
	markers.add(marker);

}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment