Next stop bus / php turf js, leaflet and json

Job ID: 34478716

Budget: $250 – $750 USD

Calculate and report the next bus stop.

A route with origin and destination is provided, in addition to multiple intermediate stops.

Each bus stop has its coordinates.

The coordinates of the origin position (stop 1), intermediate stop 2 and destination position (stop 3) are known.

There is a file with the path in json format.


Validations:
If the current position of the bus (coordinates are known) are within the radius of stop 1 (latitude and longitude coordinates), then it should show the name of stop 1 in the json in bold text.

If the current position (latitude and longitude coordinates) is outside the radius of stop 1, then it should display the message "Next stop" next to "intermediate stop 2" (changing the text to bold).

If the current position (latitude and longitude coordinates) is within the "intermediate stop 2" radius, then it should display the stop 2 name found in the json in bold text.

If the current position (latitude and longitude coordinates) is outside the radius of "intermediate stop 2", it should display the message "Next stop" next to "stop 3" (changing the text in bold).

And so on with all the stops that are available in the json-formatted file.

A minified php web application will be provided with the json file and timeline design in mobile html5 menu, css and js.

Freelancers who apply for this project must demonstrate a portfolio and skills according to the requirements.

For more information, you can contact me through the chat for clarification of doubts.

This service will be paid once 100% of the project is completed according to the expected requirement.

The freelancer must inform their price and delivery time.

Thanks.