Options
All
  • Public
  • Public/Protected
  • All
Menu

Options for opening an InfoWindow

Hierarchy

  • InfoWindowOpenOptions

Index

Properties

The anchor to which this InfoWindow will be positioned. If the anchor is non-null, the InfoWindow will be positioned at the top-center of the anchor. The InfoWindow will be rendered on the same map or panorama as the anchor (when available).

map?: null | Map | StreetViewPanorama

The map or panorama on which to render this InfoWindow.

shouldFocus?: null | boolean

Whether or not focus should be moved inside the InfoWindow when it is opened. When this property is unset or when it is set to null or undefined, a heuristic is used to decide whether or not focus should be moved. It is recommended to explicitly set this property to fit your needs as the heuristic is subject to change and may not work well for all use cases.

Generated using TypeDoc