New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@mapbox/mapbox-gl-styles

Package Overview
Dependencies
Maintainers
28
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mapbox/mapbox-gl-styles

mapbox gl example styles

latest
Source
npmnpm
Version
2.2.0
Version published
Weekly downloads
663
9.41%
Maintainers
28
Weekly downloads
 
Created
Source

Travis

This repository contains prebuilt Mapbox GL styles for use in Mapbox GL JS or the Mapbox Mobile SDKs and as a starting point for custom maps built with Mapbox Studio.

If you're looking for Mapbox Streets, Mapbox Satellite Streets, Mapbox Dark, Mapbox Light, or Mapbox Outdoors, see https://www.mapbox.com/maps/

Versioning

A breaking release (x.0.0) is one that

  • changes the style's version field
  • removes or renames an icon
  • removes or changes a glyphs URL
  • removes or changes a source
  • removes or renames a style layer
  • changes the semantic meaning of a layer

A feature release (0.x.0) has no breaking-release changes and

  • makes any non-breaking change to styles
  • makes any non-breaking change to sprites
  • adds a new style
  • adds a new icon

A fix release (0.0.x) is one that has no feature-release changes and

  • fixes an invalid stylesheet or bad test

Styles

The following styles are provided:

Basic (basic-v8)

Simple and flexible starting template.

Bright (bright-v8)

Template for complex custom basemaps.

Satellite (satellite-v8)

A beautiful global satellite and aerial imagery layer.

Empty (empty-v8)

A blank slate. Build your own map from the ground up.

Standard icons

All styles (except Empty) include a standard set of Maki icons:

Airport
airfield-11airfield-15
airport-11airport-15
heliport-11heliport-15
rocket-11rocket-15
Mountain peak
mountain-11mountain-15
volcano-11volcano-15
Dining
bakery-11bakery-15
bar-11bar-15
beer-11beer-15
cafe-11cafe-15
fast-food-11fast-food-15
ice-cream-11ice-cream-15
restaurant-11restaurant-15
Education
college-11college-15
school-11school-15
General
alcohol-shop-11alcohol-shop-15
amusement-park-11amusement-park-15
aquarium-11aquarium-15
art-gallery-11art-gallery-15
attraction-11attraction-15
bank-11bank-15
bicycle-11bicycle-15
bicycle-share-11bicycle-share-15
car-11car-15
castle-11castle-15
cinema-11cinema-15
circle-11circle-15
circle-stroked-11circle-stroked-15
clothing-store-11clothing-store-15
drinking-water-11drinking-water-15
embassy-11embassy-15
fire-station-11fire-station-15
fuel-11fuel-15
grocery-11grocery-15
harbor-11harbor-15
information-11information-15
laundry-11laundry-15
library-11library-15
lodging-11lodging-15
marker-11marker-15
monument-11monument-15
museum-11museum-15
music-11music-15
place-of-worship-11place-of-worship-15
police-11police-15
post-11post-15
prison-11prison-15
religious-christian-11religious-christian-15
religious-jewish-11religious-jewish-15
religious-muslim-11religious-muslim-15
shop-11shop-15
stadium-11stadium-15
star-11star-15
suitcase-11suitcase-15
swimming-11swimming-15
theatre-11theatre-15
toilet-11toilet-15
town-hall-11town-hall-15
triangle-11triangle-15
triangle-stroked-11triangle-stroked-15
veterinary-11veterinary-15
Health
dentist-11dentist-15
doctor-11doctor-15
hospital-11hospital-15
pharmacy-11pharmacy-15
Outdoors
campsite-11campsite-15
cemetery-11cemetery-15
dog-park-11dog-park-15
garden-11garden-15
golf-11golf-15
park-11park-15
picnic-site-11picnic-site-15
playground-11playground-15
zoo-11zoo-15
Transit
bus-11bus-15
ferry-11ferry-15
Rail station
entrance-11entrance-15
rail-11rail-15
rail-light-11rail-light-15
rail-metro-11rail-metro-15

Usage

The preferred way to use these styles in Mapbox GL JS or the Mapbox Mobile SDKs is via a mapbox:// URL.

JS

var map = new mapboxgl.Map({
    container: 'map',
    style: 'mapbox://styles/mapbox/streets-v8'
});

iOS

mapView = [[MGLMapView alloc] initWithFrame:self.view.bounds
                                   styleURL:[NSURL URLWithString:@"mapbox://styles/mapbox/satellite-v8"]];

Android

<com.mapbox.mapboxsdk.views.MapView
    android:id="@+id/mapView"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:style_url="mapbox://styles/mapbox/streets-v8"
 />
MapView mMapView = new MapView(context, "Access Token");
mMapView.setStyleUrl(Style.MAPBOX_STREETS);

FAQs

Package last updated on 20 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts