C# Class EasyBike.Droid.Helpers.StationRenderer

Inheritance: DefaultClusterRenderer
Mostrar archivo Open project: ThePublicBikeGang/EasyBike Class Usage Examples

Public Properties

Property Type Description
_iconGreen Android.Graphics.Bitmap
_iconGrey Android.Graphics.Bitmap
_iconGreyLowAlpha Android.Graphics.Bitmap
_iconOrange Android.Graphics.Bitmap
_iconRed Android.Graphics.Bitmap
_textPaint Android.Graphics.Paint

Public Methods

Method Description
CreateStationIcon ( Station station ) : Android.Gms.Maps.Model.BitmapDescriptor

Helper method to provide the corresponding Icon for a station

StationRenderer ( Android.Content.Context context, Android.Gms.Maps.GoogleMap map, ClusterManager clusterManager ) : Android.Animation

Protected Methods

Method Description
OnBeforeClusterItemRendered ( Java context, Android.Gms.Maps.Model.MarkerOptions markerOptions ) : void
OnClusterItemRendered ( Java context, Android.Gms.Maps.Model.Marker marker ) : void
OnClusterRendered ( ICluster p0, Android.Gms.Maps.Model.Marker p1 ) : void
ShouldRenderAsCluster ( ICluster p0 ) : bool

Method Details

CreateStationIcon() public method

Helper method to provide the corresponding Icon for a station
public CreateStationIcon ( Station station ) : Android.Gms.Maps.Model.BitmapDescriptor
station EasyBike.Models.Station
return Android.Gms.Maps.Model.BitmapDescriptor

OnBeforeClusterItemRendered() protected method

protected OnBeforeClusterItemRendered ( Java context, Android.Gms.Maps.Model.MarkerOptions markerOptions ) : void
context Java
markerOptions Android.Gms.Maps.Model.MarkerOptions
return void

OnClusterItemRendered() protected method

protected OnClusterItemRendered ( Java context, Android.Gms.Maps.Model.Marker marker ) : void
context Java
marker Android.Gms.Maps.Model.Marker
return void

OnClusterRendered() protected method

protected OnClusterRendered ( ICluster p0, Android.Gms.Maps.Model.Marker p1 ) : void
p0 ICluster
p1 Android.Gms.Maps.Model.Marker
return void

ShouldRenderAsCluster() protected method

protected ShouldRenderAsCluster ( ICluster p0 ) : bool
p0 ICluster
return bool

StationRenderer() public method

public StationRenderer ( Android.Content.Context context, Android.Gms.Maps.GoogleMap map, ClusterManager clusterManager ) : Android.Animation
context Android.Content.Context
map Android.Gms.Maps.GoogleMap
clusterManager ClusterManager
return Android.Animation

Property Details

_iconGreen public_oe property

public Bitmap,Android.Graphics _iconGreen
return Android.Graphics.Bitmap

_iconGrey public_oe property

public Bitmap,Android.Graphics _iconGrey
return Android.Graphics.Bitmap

_iconGreyLowAlpha public_oe property

public Bitmap,Android.Graphics _iconGreyLowAlpha
return Android.Graphics.Bitmap

_iconOrange public_oe property

public Bitmap,Android.Graphics _iconOrange
return Android.Graphics.Bitmap

_iconRed public_oe property

public Bitmap,Android.Graphics _iconRed
return Android.Graphics.Bitmap

_textPaint public_oe property

public Paint,Android.Graphics _textPaint
return Android.Graphics.Paint