MGLStyle

@interface MGLStyle : NSObject

A collection of convenience methods for creating style URLs of default styles provided by Mapbox. These instances of NSURL are cached.

  • Returns the Streets style URL.

    Mapbox Streets is a complete base map, perfect for incorporating your own data.

    Declaration

    Objective-C

    + (nonnull NSURL *)streetsStyleURL;
  • Returns the Emerald style URL.

    Emerald is a versatile style with emphasis on road networks and public transportation.

    Declaration

    Objective-C

    + (nonnull NSURL *)emeraldStyleURL;
  • Returns the Light style URL.

    Light is a subtle, light-colored backdrop for data visualizations.

    Declaration

    Objective-C

    + (nonnull NSURL *)lightStyleURL;
  • Returns the Dark style URL.

    Dark is a subtle, dark-colored backdrop for data visualizations.

    Declaration

    Objective-C

    + (nonnull NSURL *)darkStyleURL;
  • Returns the Satellite style URL.

    Mapbox Satellite is a beautiful global satellite and aerial imagery layer.

    Declaration

    Objective-C

    + (nonnull NSURL *)satelliteStyleURL;
  • Returns the Hybrid style URL.

    Hybrid combines the global satellite and aerial imagery of Mapbox Satellite with unobtrusive labels.

    Declaration

    Objective-C

    + (nonnull NSURL *)hybridStyleURL;