Hi Mark
Dear Mappedin Support Team,
I hope you are doing well.
We are currently integrating the Mappedin Web SDK into our project, and we are facing an issue with navigation.
At the moment, when we perform a search and request directions, the navigation always starts from a default or first point instead of a selected or user-defined starting location.
We would like to achieve the following:
-
Allow users to select or define a starting point (“from” location)
-
Use the user’s current position or selected point as the navigation origin
-
Prevent the system from defaulting to the first node
Could you please advise on:
-
The correct method to set or override the “from” location in the SDK
-
Whether we should use
setUserLocationor pass a custom object intogetDirections -
Any best practices for handling dynamic starting points (e.g., user click or search result)
If possible, we would appreciate a sample implementation or reference.
Thank you very much for your support.
Cindy