Table of Contents

Interface IMapLibreMapOptionsSink

public interface IMapLibreMapOptionsSink

Methods

SetAttributionButtonGravity(int)

void SetAttributionButtonGravity(int gravity)

Parameters

gravity int

SetAttributionButtonMargins(int, int)

void SetAttributionButtonMargins(int x, int y)

Parameters

x int
y int

SetAttributionControlPosition(MapControlCorner)

Set the corner the attribution control is anchored to.

void SetAttributionControlPosition(MapControlCorner corner)

Parameters

corner MapControlCorner

SetCompassEnabled(bool)

void SetCompassEnabled(bool compassEnabled)

Parameters

compassEnabled bool

SetCompassGravity(int)

void SetCompassGravity(int gravity)

Parameters

gravity int

SetCompassViewMargins(int, int)

void SetCompassViewMargins(int x, int y)

Parameters

x int
y int

SetGpsControlPosition(MapControlCorner)

Set the corner the GPS control is anchored to.

void SetGpsControlPosition(MapControlCorner corner)

Parameters

corner MapControlCorner

SetGpsFollowZoom(GpsFollowZoomMode, double)

Set how the GPS control picks the camera zoom when Follow mode engages; zoom is the level used by Fixed.

void SetGpsFollowZoom(GpsFollowZoomMode mode, double zoom)

Parameters

mode GpsFollowZoomMode
zoom double

SetLogoViewMargins(int, int)

void SetLogoViewMargins(int x, int y)

Parameters

x int
y int

SetMinMaxZoomPreference(double?, double?)

void SetMinMaxZoomPreference(double? min, double? max)

Parameters

min double?
max double?

SetMyLocationEnabled(bool)

void SetMyLocationEnabled(bool myLocationEnabled)

Parameters

myLocationEnabled bool

SetMyLocationRenderMode(int)

void SetMyLocationRenderMode(int myLocationRenderMode)

Parameters

myLocationRenderMode int

SetMyLocationTrackingMode(int)

void SetMyLocationTrackingMode(int myLocationTrackingMode)

Parameters

myLocationTrackingMode int

SetNavigationControlPosition(MapControlCorner)

Set the corner the navigation control is anchored to.

void SetNavigationControlPosition(MapControlCorner corner)

Parameters

corner MapControlCorner

SetRotateGesturesEnabled(bool)

void SetRotateGesturesEnabled(bool rotateGesturesEnabled)

Parameters

rotateGesturesEnabled bool

SetScrollGesturesEnabled(bool)

void SetScrollGesturesEnabled(bool scrollGesturesEnabled)

Parameters

scrollGesturesEnabled bool

SetShowAttributionControl(bool, string?)

Show or hide the attribution overlay. When shown, attributions are read from all loaded TileJSON sources; customAttribution is appended after them.

void SetShowAttributionControl(bool show, string? customAttribution)

Parameters

show bool
customAttribution string

SetShowGpsControl(bool)

Show or hide the GPS tracking control overlay.

void SetShowGpsControl(bool show)

Parameters

show bool

SetShowNavigationControls(bool)

Show or hide the zoom/compass navigation overlay.

void SetShowNavigationControls(bool show)

Parameters

show bool

SetStyleString(string)

void SetStyleString(string styleString)

Parameters

styleString string

SetTiltGesturesEnabled(bool)

void SetTiltGesturesEnabled(bool tiltGesturesEnabled)

Parameters

tiltGesturesEnabled bool

SetTrackCameraPosition(bool)

void SetTrackCameraPosition(bool trackCameraPosition)

Parameters

trackCameraPosition bool

SetZoomGesturesEnabled(bool)

void SetZoomGesturesEnabled(bool zoomGesturesEnabled)

Parameters

zoomGesturesEnabled bool