class MarkerOptionsMapper implements Mapper<MarkerOptions, com.google.android.gms.maps.model.MarkerOptions> {

	@Override
	public com.google.android.gms.maps.model.MarkerOptions map(MarkerOptions input) {
		LatLng googleLatLng = AnyMapAdapter.adapt(input.getPosition());

		return new com.google.android.gms.maps.model.MarkerOptions()
				.alpha(input.getAlpha())
				.position(googleLatLng)
				.visible(input.isVisible())
				.anchor(
						input.getAnchorU(),
						input.getAnchorV()
				)
				.icon(
						((BitmapDescriptorAdapter) input.getIcon()).wrappedDescriptor
				)
				.zIndex(input.getZ());
	}

}