Style a heatmap layer
This is a modified version of the Streets template style.
A new
heatmap
layer calledmeteorites
has been added.The source data for the
meteorites
layer 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
source
for themeteorites
layer 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
meteorites
layer to see how thecolor
,opacity
,radius
,weight
, andintensity
style properties have been specified to style theheatmap
layer.
Related resources
Looking for more guidance? Read our Make a heatmap with Mapbox Studio tutorial.
このexampleは役に立ちましたか?