Initial location

You can configure the user initial location in the settings, by clicking in general and set current as initial. This applies to the user first access. On subsequent accesses, the user will be returned to their previous position.

Dynamic initial location

When embedding Hopara you can set the initial location dynamically by sending the parameters initialLayerId and initialRowId. Hopara will center the visualization around the specified row.

<div className="HoparaEmbedded">
  <Hopara
    visualizationId="your-viz-id"
    accessToken="your-access-token"
    initialLayerId="facilities"
    initialRowId="my-customer-facility-id"
  />
</div>