How to display an MVT layer of POIs and show a tooltip in Deck.gl

This example demonstrates the process of loading an MVT layer of Points of Interest (POIs) using Deck.gl and displaying a tooltip. The specific layer showcased in this example is the poi layer that comes from the MapTiler Planet tileset. You can easily implement this functionality by utilizing the code provided below the map.

In this case, the POIs within the layer are visually represented based on the class field.

Hold down the shift key to rotate the map. Move the cursor over the points to see their information



Replace YOUR_MAPTILER_API_KEY_HERE with your actual MapTiler API key.

Related examples