Vector Map API (v2.0)

Download OpenAPI specification:Download

The vector map API service provides vector tiles of Japan map data manufactured by GeoTechnologies.
The vector tiles will be provided in MVT (MapBox Vector Tile) format.


The data file format used by this API is PMTiles.
Compared to MBTiles, which is used in Vector Map API v1, this version features reduced network traffic due to lighter data delivery and optimizations for faster tile loading in browsers and cloud environments.
*If you anticipate a large volume of API traffic, please use this API (v2) instead of v1.

Vector Map API

Please note the following when using this API.

  • This API (v2) is not available in Mapbox GL JS.
    Please use a client library that supports PMTiles, such as MapLibre GL JS.
    To use this with MapLibre GL JS, the PMTiles library is required.
  • 本APIのPV(ページビュー)は、z/x/yで表される地図タイル領域 15エリア分のアクセスにつき、1カウントされます。
    地図タイルは複数のデータソースで構成されますが、個々のデータソース単位でのアクセスはカウントせず、1つの地図タイル領域につき1アクセスとなります。
    また、style glyph sprite へのアクセスはカウントされません。

Get style files

We provide a style file retrieval function for client libraries that render vector maps.
Style files contain information about where to obtain vector tile data and resources necessary for drawing vector maps, as well as settings for the map design.
The style file specifications conform to the Mapbox Style Specification.

path Parameters
stylename
required
string

Specify the name of the style you want to retrieve.
The following values can be specified:

  • mapfan (MapFan standard design)
  • mapfan_nologo (MapFan standard design, brand logo hidden)
  • mapfan_light (MapFan light-color design)
  • mapfan_light_nologo (MapFan light-colored design, brand logo hidden)
header Parameters
x-api-key
required
string

Authentication will be performed using an API key. Please enter the API key provided by our company.
*Please manage your API key carefully to prevent it from being leaked.

Responses

Retrieving style files (for editors)

This provides a function to retrieve style files for the vector map style editor. It has been tested and confirmed to work in the following style editor environments.

For client libraries, please use the "Get Style File" function.

path Parameters
stylename
required
string

Specify the name of the style you want to retrieve.
The following values can be specified:

  • mapfan (MapFan standard design)
  • mapfan_nologo (MapFan standard design, brand logo hidden)
  • mapfan_light (MapFan light-color design)
  • mapfan_light_nologo (MapFan light-colored design, brand logo hidden)
query Parameters
api_key
required
string

Authentication will be performed using an API key. Please enter the API key provided by our company.
*Please manage your API key carefully to prevent it from being leaked.

Responses

Change history

Date Content
2025年4月10日 Create New