Skip to content

Commit c1f8b05

Browse files
177140: Modified the content in the readme file.
1 parent f9b095b commit c1f8b05

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,36 @@
33
This sample demonstrates how to obtain the coordinates for markers and navigation routes from the Google Maps Directions API and integrate them into the Syncfusion Maps to plot the route between designated locations.
44

55
Add your key for the Google Maps Directions API to the **index.html** file located in the **quickstart** folder.
6+
7+
## Project prerequisites
8+
Make sure that you have the compatible versions of Visual Studio Code in your machine before starting to work on this project.
9+
Ensure you have Node.js installed on your machine to run the project dependencies and scripts effectively.
10+
11+
## How to run this application?
12+
13+
To run this application, you need to first clone the `how-to-create-a-route-between-the-markers-in-the-JavaScript-maps` repository and then navigate to its appropriate path where it has been located in your system.
14+
15+
To do so, open the command prompt and run the below commands one after the other.
16+
17+
```
18+
git clone https://github.com/SyncfusionExamples/how-to-create-a-route-between-the-markers-in-the-JavaScript-maps airfare
19+
cd airfare
20+
```
21+
22+
## Installing
23+
24+
Once done with downloading, next you need to install the necessay packages required to run this application locally. The `npm install` command will install all the needed JS2 packages into your current project and to do so, run the below command.
25+
26+
```
27+
npm install
28+
```
29+
30+
## Running
31+
32+
Finally, you can now use the below `npm` script to run the web application.
33+
34+
```
35+
npm start
36+
```
37+
38+
As this application is configured with `browser-sync`, therefore it will serve the web application directly in your default browser.

0 commit comments

Comments
 (0)