Mapilion - Vector and Raster Map Tiles

부분 유료
분류별 Robin | 업데이트됨 hace un año | Mapping
인기

8.8 / 10

지연 시간

156ms

서비스 수준

100%

모든 자습서로 돌아가기 (2)

Use Vector Tiles with Maplibre-GL

Vector tiles can be consumed with most vector tile map libraries that support the Mapbox Vector Tile standard.

We provide a few pre-configured styles for you that allow you to start easily. These can be consumed by Mapbox-GL, Maplibre-GL, and other Vector Tile libraries like VTM.

Here is an example using the Maplibre-GL-JS library:

import { Map } from 'https://cdn.skypack.dev/maplibre-gl'

const rapidAPIKey = "[YOUR_RAPID_API_KEY]"

const map = new Map({
  container: "map",
  style: `https://mapilion-vector-and-raster-map-tiles.p.rapidapi.com/rapid-api/stylejson/osm-bright?rapidapi-key=${rapidAPIKey}`,
  center: [1, 45],
  zoom: 3
})
등급: 5 - 투표: 1