How can i put the destination?


i need the user to put the destiantion so when i press the button search, that takes me to another page that i can choose the designed driver and after confirm it, it took me to a page of payment that calculates the price dependig on the distance. its for a school project

You are trying to build a taxi or Uber like app.

To determine how far the destination is from the app user, you will probably need to use the Navigate control for an 'exact' distance following roads or calculate a straight line distance between the coordinates of the user at present to his/her destination coordinates either using an algorithm or a routine in the Map component.

Here are some ideas:

and

more discussions

this discussion might also be helpful to developing you app

or this one

ok, thankyou. actually im building an app similar to taxi or uber but the user ask for a desgined drive to driver her cara because they cant drive it, like drinking alcohol or not feeling good