Skip to content

Latest commit

 

History

History
57 lines (29 loc) · 896 Bytes

StyleImport.md

File metadata and controls

57 lines (29 loc) · 896 Bytes
import { StyleImport } from '@rnmapbox/maps';

StyleImport

Use StyleImport to set configuration options on the new standard style. V11 only.

See https://github.com/mapbox/mapbox-maps-ios/blob/main/Sources/MapboxMaps/Documentation.docc/Migrate%20to%20v11.md#21-the-mapbox-standard-style

props

id

string

required id of the style import (eg. basemap)

existing

boolean

required existing is now always required as true

config

type Config = {
  [object Object]: string; /* FIX ME NO DESCRIPTION */
}

required config is a dictionary of configuration options for the style import.

See https://github.com/mapbox/mapbox-maps-ios/blob/main/Sources/MapboxMaps/Documentation.docc/Migrate%20to%20v11.md#21-the-mapbox-standard-style