I wouldn't usually post service this map showing the birthplaces of Liverpool Football Club players exactly it is the offset Mapbox GL created map inwards the wild that I've seen which includes map markers. The map too includes text labels amongst the markers together with thence could render a useful origin for anyone looking to add together markers together with / or text labels to a Mapbox GL map.
The Mapbox GL representative maps includes ane demo showing how to add together markers to a map. That example, similar this map, shows y'all how to add together an icon for the mark together with too how to add together a text label to the marker. The Mapbox GL representative map too shows y'all how to mode the text label. However the Liverpool players map includes far to a greater extent than styling of the text labels than the Mapbox GL example, together with thence could move a useful direct for anyone interested inwards adding text labels to their markers.
If y'all await at the origin code for the Liverpool players map y'all tin come across how a halo is added to the text,
"text-halo-color": "white",
"text-halo-width": 1,
"text-halo-blur": 0.5,
You tin too come across inwards this map how y'all tin command the size of the text label according to the zoom grade of the map. In this instance the text labels larn bigger every bit y'all zoom inwards on the map,
"text-size": { "stops": [[2, 6], [4, 8],[6,10],[8,12],[14,16]]
Currently Mapbox GL doesn't operate on Internet Explorer (although Mapbox nation back upward for IE is coming soon). While IE isn't supported it is skilful exercise to add together a warning for IE users. This Liverpool players map doesn't include a warning exactly the Mapbox GL examples department does include an representative of how y'all tin Check for Mapbox GL Browser Support together with alarm users amongst non-supported browsers.