Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1 KB

File metadata and controls

26 lines (19 loc) · 1 KB

How-to-create-a-route-between-the-markers-in-the-JavaScript-maps

Repository Description: A minimal sample showing how to get route coordinates from Google Maps Directions API and plot routes between markers using Syncfusion Maps.

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.