Type Alias: RNMapOptions
type RNMapOptions = {
backgroundColor?: string;
camera?: RNCameraUpdate;
liteMode?: boolean;
mapId?: string;
};
Initial map configuration. Applied once at mount time.
Properties
| Property | Type | Default value | Description |
|---|---|---|---|
backgroundColor? | string | Background color while tiles load. | |
camera? | RNCameraUpdate | Initial camera configuration. See RNCameraUpdate. | |
liteMode? | boolean | false | Enables lite rendering mode. Android: supported. iOS: not supported. |
mapId? | string | Map identifier applied when the map is created. Required by Google Maps features such as Advanced Markers. |