<!--
{
  "availability" : [
    "MapKit JS: 5.79.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/LookAround/LookAroundConstructor",
  "metadataVersion" : "0.1.0",
  "role" : "Constructor",
  "symbol" : {
    "kind" : "Constructor",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "instctr/mapkit.LookAround/LookAroundConstructor"
  },
  "title" : "new LookAround(parent, location, options)"
}
-->

# new LookAround(parent, location, options)

Creates a Look Around object you embed on a webpage and initializes it with the constructor options you choose.

```
constructor(
    parent?: HTMLElement,
    location?: CoordinateData | Place | LookAroundScene,
    options?: LookAroundOptions,
);
```

## Parameters

`parent`

A DOM element, or the ID of a DOM element, to use as your map’s container.

`location`

A [`Coordinate`](/documentation/MapKitJS/Coordinate) that describes the location the Look Around view shows.

`options`

Options that [`LookAroundOptions`](/documentation/MapKitJS/LookAroundOptions) defines for initializing the properties of the preview.

## Return Value

A [`LookAround`](/documentation/MapKitJS/LookAround) instance.

## Discussion

The Look Around view’s constructor takes an optional `parent` argument and an optional `options` argument. If you specify the `parent` argument, MapKit JS inserts the preview element into the DOM as a descendant of `parent`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)