Style a heatmap layer
This is a modified version of the Streets template style.
A new
heatmaplayer calledmeteoriteshas been added.The source data for the
meteoriteslayer comes from a custom tileset that has been uploaded to Mapbox Studio.
About this style
- Tileset from custom data: The data that is used as the
sourcefor themeteoriteslayer comes from a custom tileset that was created by uploading a CSV file to Mapbox Studio. The original data comes from NASA's open data portal. The tileset itself contains the locations of various meteorite strikes and several properties includingmass (g)(a number). Read more about uploading data to Mapbox Studio in the Overview section. - Layers tab: This example uses a custom layer added and styled in the Layers tab.
- Styling heatmap layers: Open the
meteoriteslayer to see how thecolor,opacity,radius,weight, andintensitystyle properties have been specified to style theheatmaplayer.
Related resources
Looking for more guidance? Read our Make a heatmap with Mapbox Studio tutorial.
このexampleは役に立ちましたか?