---
title: "new LookAround(parent, location, options)"
framework: mapkitjs
role: symbol
role_heading: Constructor
path: mapkitjs/lookaround/lookaroundconstructor
---

# new LookAround(parent, location, options)

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

## Declaration

```data
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 doc://com.apple.mapkitjs/documentation/MapKitJS/Coordinate that describes the location the Look Around view shows.
- `options`: Options that doc://com.apple.mapkitjs/documentation/MapKitJS/LookAroundOptions defines for initializing the properties of the preview.

## Return Value

Return Value A LookAround instance.

## Discussion

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.
