Get a Mapbox Vector Tile
client.tiles.get(numbery, TileGetParams { z, x } params, RequestOptionsoptions?): Response
GET/api/v1/tiles/{z}/{x}/{y}
Get a Mapbox Vector Tile
import Plaza from '@plazafyi/sdk';
const client = new Plaza({
apiKey: process.env['PLAZA_API_KEY'], // This is the default and can be omitted
});
const tile = await client.tiles.get(0, { z: 0, x: 0 });
console.log(tile);
const content = await tile.blob();
console.log(content);