react-globe.gl 2.31.3 → 2.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -105,6 +105,7 @@ ReactDOM.render(
105
105
  | --- | :--: | :--: | --- |
106
106
  | <b>width</b> | <i>number</i> | *&lt;window width&gt;* | Canvas width. |
107
107
  | <b>height</b> | <i>number</i> | *&lt;window height&gt;* | Canvas height. |
108
+ | <b>globeOffset</b> | <i>[number, number]</i> | `[0, 0]` | Position offset of the globe relative to the canvas center. |
108
109
  | <b>backgroundColor</b> | <i>string</i> | `#000011` | Background color. |
109
110
  | <b>backgroundImageUrl</b> | <i>string</i> | *-* | URL of the image to be used as background to the globe. If no image is provided, the background color is shown instead. |
110
111
  | <b>waitForGlobeReady</b> | <i>bool</i> | `true` | Whether to wait until the globe wrapping or background image has been fully loaded before rendering the globe or any of the data layers. |
@@ -46,6 +46,7 @@ interface GlobeProps extends ConfigOptions {
46
46
  // Container layout
47
47
  width?: number;
48
48
  height?: number;
49
+ globeOffset?: [number, number];
49
50
  backgroundColor?: string;
50
51
  backgroundImageUrl?: string | null;
51
52