We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All
GuidesMap KitJavaScriptService Introduction

Service Introduction

Map Kit provides JavaScript APIs for you to easily build map apps applicable to browsers. With the JavaScript APIs, you can quickly access the app functions you mostly need, such as basic map display, map interaction, route planning, place search, and geocoding.

Before using the service, you need to obtain the API key by referring to Obtaining the API Key. JavaScript APIs can be used to develop map-related functions for apps on PCs and mobile devices. For details about the supported browsers, please refer to Development Environment.

Use Cases

JavaScript APIs help you build highly interactive maps with rich functions in your website. The functions include:

  • Basic map display: Allows you to create a simple web map.
  • Map interaction: Allows users to interact with your map, such as panning, zooming in, and dragging the map.
  • Map drawing: Allows you to add markers on maps and customize map styles based on personalized needs.
  • Route planning: Allows users to plan walking, cycling, and driving routes.
  • Place search: Provides place search capabilities, including autocomplete, keyword search, and place detail search.

Function Restrictions

Expand

Function

Location Restriction

Remarks

Functions irrelevant to map data

None

All functions irrelevant to map data are available, such as the functions of adding markers and polygons.