Interface IMapLibreMapOptionsSink
- Namespace
- MapLibreNative.Maui.Handlers
public interface IMapLibreMapOptionsSink
Methods
SetAttributionButtonGravity(int)
void SetAttributionButtonGravity(int gravity)
Parameters
gravityint
SetAttributionButtonMargins(int, int)
void SetAttributionButtonMargins(int x, int y)
Parameters
SetAttributionControlPosition(MapControlCorner)
Set the corner the attribution control is anchored to.
void SetAttributionControlPosition(MapControlCorner corner)
Parameters
cornerMapControlCorner
SetCompassEnabled(bool)
void SetCompassEnabled(bool compassEnabled)
Parameters
compassEnabledbool
SetCompassGravity(int)
void SetCompassGravity(int gravity)
Parameters
gravityint
SetCompassViewMargins(int, int)
void SetCompassViewMargins(int x, int y)
Parameters
SetGpsControlPosition(MapControlCorner)
Set the corner the GPS control is anchored to.
void SetGpsControlPosition(MapControlCorner corner)
Parameters
cornerMapControlCorner
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
modeGpsFollowZoomModezoomdouble
SetLogoViewMargins(int, int)
void SetLogoViewMargins(int x, int y)
Parameters
SetMinMaxZoomPreference(double?, double?)
void SetMinMaxZoomPreference(double? min, double? max)
Parameters
SetMyLocationEnabled(bool)
void SetMyLocationEnabled(bool myLocationEnabled)
Parameters
myLocationEnabledbool
SetMyLocationRenderMode(int)
void SetMyLocationRenderMode(int myLocationRenderMode)
Parameters
myLocationRenderModeint
SetMyLocationTrackingMode(int)
void SetMyLocationTrackingMode(int myLocationTrackingMode)
Parameters
myLocationTrackingModeint
SetNavigationControlPosition(MapControlCorner)
Set the corner the navigation control is anchored to.
void SetNavigationControlPosition(MapControlCorner corner)
Parameters
cornerMapControlCorner
SetRotateGesturesEnabled(bool)
void SetRotateGesturesEnabled(bool rotateGesturesEnabled)
Parameters
rotateGesturesEnabledbool
SetScrollGesturesEnabled(bool)
void SetScrollGesturesEnabled(bool scrollGesturesEnabled)
Parameters
scrollGesturesEnabledbool
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
SetShowGpsControl(bool)
Show or hide the GPS tracking control overlay.
void SetShowGpsControl(bool show)
Parameters
showbool
SetShowNavigationControls(bool)
Show or hide the zoom/compass navigation overlay.
void SetShowNavigationControls(bool show)
Parameters
showbool
SetStyleString(string)
void SetStyleString(string styleString)
Parameters
styleStringstring
SetTiltGesturesEnabled(bool)
void SetTiltGesturesEnabled(bool tiltGesturesEnabled)
Parameters
tiltGesturesEnabledbool
SetTrackCameraPosition(bool)
void SetTrackCameraPosition(bool trackCameraPosition)
Parameters
trackCameraPositionbool
SetZoomGesturesEnabled(bool)
void SetZoomGesturesEnabled(bool zoomGesturesEnabled)
Parameters
zoomGesturesEnabledbool