Skip to main content
100%

Gist 48245d988832c60328d729e4c95db8db

✓ Published0🌍 Public
Aandybak
Last edited Jun 21, 2019
Created on Jun 21, 2019

This example demonstrates how to request a Mapbox vector tile and initialize it for rendering. The code constructs a `Tile.Parameters` object, sets its `Fs` property to the Mapbox access instance, and converts latitude, longitude, and zoom coordinates into a canonical tile ID. It then creates a `VectorTile` and calls its `Initialize` method with those parameters, passing a callback for tile data. The snippet highlights the step where a specific map style, such as `"mapbox.mapbox-terrain-v2"`, would normally be assigned, but that assignment is omitted here. The rendering approach relies on Mapbox’s tile API and the `VectorTile` class to handle the map data.

AI-generated description

Similar vizzes