Skip to content

Commit

Permalink
docs: codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
KiwiKilian committed Dec 16, 2024
1 parent 1b5889b commit 22e88fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
3 changes: 1 addition & 2 deletions docs/components/MapView.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ MapView backed by MapLibre Native
| ---- | :--: | :-----: | :------: | :----------: |
| contentInset | `number[] \| number` | `none` | `false` | The distance from the edges of the map view’s frame to the edges of the map view’s logical viewport. |
| style | `ViewProps["style"]` | `none` | `false` | Style for wrapping React Native View |
| styleURL | `string` | `none` | `false` | Style URL for map - notice, if non is set it _will_ default to `MapLibreGL.StyleURL.Default` |
| styleJSON | `string` | `none` | `false` | StyleJSON for map - according to TileJSON specs: https://github.com/mapbox/tilejson-spec |
| mapStyle | `string \| object` | `none` | `false` | Style for map - either a URL or a Style JSON (https://maplibre.org/maplibre-style-spec/). Default: `MapLibreRN.StyleURL.Default` |
| preferredFramesPerSecond | `number` | `none` | `false` | iOS: The preferred frame rate at which the map view is rendered.<br/>The default value for this property is MLNMapViewPreferredFramesPerSecondDefault,<br/>which will adaptively set the preferred frame rate based on the capability of<br/>the user’s device to maintain a smooth experience. This property can be set to arbitrary integer values.<br/><br/>Android: The maximum frame rate at which the map view is rendered, but it can't excess the ability of device hardware.<br/>This property can be set to arbitrary integer values. |
| localizeLabels | `boolean` | `false` | `false` | Automatically change the language of the map labels to the system’s preferred language,<br/>this is not something that can be toggled on/off |
| zoomEnabled | `boolean` | `none` | `false` | Enable/Disable zoom on the map |
Expand Down
13 changes: 3 additions & 10 deletions docs/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2405,18 +2405,11 @@
"description": "Style for wrapping React Native View"
},
{
"name": "styleURL",
"name": "mapStyle",
"required": false,
"type": "string",
"default": "none",
"description": "Style URL for map - notice, if non is set it _will_ default to `MapLibreGL.StyleURL.Default`"
},
{
"name": "styleJSON",
"required": false,
"type": "string",
"type": "string \\| object",
"default": "none",
"description": "StyleJSON for map - according to TileJSON specs: https://github.com/mapbox/tilejson-spec"
"description": "Style for map - either a URL or a Style JSON (https://maplibre.org/maplibre-style-spec/). Default: `MapLibreRN.StyleURL.Default`"
},
{
"name": "preferredFramesPerSecond",
Expand Down

0 comments on commit 22e88fe

Please sign in to comment.