Map Events¶
The SDK provides event listeners that let you monitor and respond to various map interactions and state changes, such as camera movements, marker clicks, or gesture inputs.
Map Click Event¶
This event fires whenever the user performs a tap or click on the map surface, allowing you to respond to user interactions.
MapplsMap(
initialCameraPosition: _kInitialPosition,
onMapClick: (point, latlng) => {
Fluttertoast.showToast(msg: latlng.toString())
},
)
Map Long Click Event¶
This event is fired when the user long-presses on the map surface, enabling custom actions or interactions based on long-click input.
MapplsMap(
initialCameraPosition: _kInitialPosition,
onMapLongClick: (point, latLng) => {
Fluttertoast.showToast(msg: latLng.toString())
},
)
Camera Movement Ended¶
Triggered when the camera movement completes, this callback indicates that all animations or user-driven camera changes have finished.
MapplsMap(
initialCameraPosition: _kInitialPosition,
onCameraIdle: () => {
},
)
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
