Skip to content

Latest commit

 

History

History
67 lines (35 loc) · 1.03 KB

File metadata and controls

67 lines (35 loc) · 1.03 KB
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

merge

boolean

required whether to merge the style import with the existing style import config or replace it entirely. Defaults to false