Customize various map-related UI components to enhance user experience.
Configure the behavior and visibility of the compass on the map.
Toggle the compass display on or off to suit your app’s design and user needs :
MapplsMap(
initialCameraPosition: _kInitialPosition,
compassEnabled: false,
)To set the gravity of compass view:
MapplsMap(
initialCameraPosition: _kInitialPosition,
compassViewPosition: CompassViewPosition.BottomLeft,
)There are four possible values:
CompassViewPosition.TopLeft: To set gravity at top left of the screen.CompassViewPosition.TopRight: To set gravity at top right of the screen.CompassViewPosition.BottomLeft: To set gravity at bottom left of the screen.CompassViewPosition.BottomRight: To set gravity at bottom right of the screen
To set the margin of compass view:
MapplsMap(
initialCameraPosition: _kInitialPosition,
compassViewMargins: Point(20, 10),
) To change the positions of logo:
To set the gravity of logo view:
MapplsMap(
initialCameraPosition: _kInitialPosition,
logoViewPosition: LogoViewPosition.BottomLeft,
)There are four possible values:
LogoViewPosition.TopLeft: To set gravity at top left of the screen.LogoViewPosition.TopRight: To set gravity at top right of the screen.LogoViewPosition.BottomLeft: To set gravity at bottom left of the screen.LogoViewPosition.BottomRight: To set gravity at bottom right of the screen
To set the margins of Logo view
MapplsMap(
initialCameraPosition: _kInitialPosition,
logoViewMargins: Point(20, 10),
) To enable or disable zoom on double tap:
MapplsMap(
initialCameraPosition: _kInitialPosition,
doubleClickZoomEnabled: false,
)To enable or disable the map rotation:
MapplsMap(
initialCameraPosition: _kInitialPosition,
rotateGesturesEnabled: false,
)To enable or disable the map scrolling:
MapplsMap(
initialCameraPosition: _kInitialPosition,
scrollGesturesEnabled: false,
)To enable or disable map tilt:
MapplsMap(
initialCameraPosition: _kInitialPosition,
tiltGesturesEnabled: false,
)To enable or disable zoom gesture
MapplsMap(
initialCameraPosition: _kInitialPosition,
zoomGesturesEnabled: false,
)For any queries and support, please contact:
Email us at apisupport@mappls.com
Support
Need support? contact us!
@ Copyright 2025 CE Info Systems Ltd. All Rights Reserved.
Terms & Conditions | Privacy Policy | Supplier Sustainability Policy | Health & Safety Policy | Environmental Policy & CSR Report
Customer Care: +91-9999333223
