Skip to content

Latest commit

 

History

History
50 lines (25 loc) · 812 Bytes

StyleImport.md

File metadata and controls

50 lines (25 loc) · 812 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

TODO 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