Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 23 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# How-to-create-a-route-between-the-markers-in-the-JavaScript-maps

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.
Repository Description: A minimal sample showing how to get route coordinates from Google Maps Directions API and plot routes between markers using Syncfusion Maps.

Add your key for the Google Maps Directions API to the **index.html** file located in the **quickstart** folder.
## Overview
This sample shows how to obtain marker and route coordinates from the Google Maps Directions API and integrate them into Syncfusion Maps to plot navigation between locations. See the `quickstart` folder for a minimal HTML/JS example.

## Features
- Use Directions API to fetch route coordinates
- Plot markers and routes on Syncfusion Maps
- No build required; simple demo

## Prerequisites
- Google Maps Directions API key
- Modern browser

## Quickstart
1. Add your API key to `quickstart/index.html`.
2. Open `quickstart/index.html` in a browser.

## Usage
- Edit the API key and marker coordinates in `quickstart/index.js` as needed and load the page.

## Support
- Use repository issues for questions.
- Provide usage details or short examples in issues if help is needed.
Loading