# jig.fullscreen

{% columns %}
{% column %}
The `jig.full-screen` allows you to configure a component that covers the entire screen of the jig with no other elements visible. This is useful for creating a full screen of a [location](/examples/readme/components/location.md) screen.
{% endcolumn %}

{% column %}

<figure><img src="/files/yV2gi94mAuCyUnNNpfVu" alt="Location in full screen" width="188"><figcaption><p>Location in full screen</p></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

## Considerations

## Configuration options

Some properties are common to all jig types, see [Common jig type properties](/examples/readme/jig-types/common-jig-type-properties.md) for a list and their configuration options.

The `jig.full-screen` can be configured in the following way in Jigx Builder.

## Examples and code snippets

### Full-screen of a map

{% columns %}
{% column %}

<figure><img src="/files/yV2gi94mAuCyUnNNpfVu" alt="Full screen jig" width="188"><figcaption><p>Full screen jig</p></figcaption></figure>
{% endcolumn %}

{% column %}
In this example the location to the Seattle Aquarium is shown in full screen using jig type `jig.full-screen`, `component.location` and Dynamic Data datasource called address.

Refer to the [location](/examples/readme/components/location.md) component for additional location setup options.

**Examples:**\
See the full code sample using dynamic data in [GitHub](https://github.com/jigx-com/jigx-samples/blob/main/quickstart/jigx-samples/jigs/jig-types/jig-fullscreen/fullscreen-location-dd.jigx).
{% endcolumn %}
{% endcolumns %}

{% tabs %}
{% tab title="location-fullscreen-dynamic.jigx" %}

```yaml
title: Aquarium Location
type: jig.full-screen

component:
  type: component.location
  options:
    viewPoint:
      address: 1483 Alaskan Way, Seattle, US
      zoomLevel: 15
    markers:
      data: =@ctx.datasources.address
      item:
        type: component.marker-item
        options:
          address: 1483 Alaskan Way, Seattle, US
          children:
            type: component.icon
            options:
              size: medium
              color: negative
              icon: end-marker
```

{% endtab %}

{% tab title="datasource (dynamic)" %}

```yaml
type: datasource.sqlite
options:
  provider: DATA_PROVIDER_DYNAMIC
  entities:
    - entity: default/location
  query: |
    SELECT
      '$.id',
      '$.address',
      '$.address-us',
      '$.category',  
      '$.lat',
      '$.lng',
      '$.city',
      '$.country',
      '$.street'
    FROM [default/location] WHERE '$.category' = "location"
```

{% endtab %}
{% endtabs %}

## Chatbot in a full-screen jig

See the [chatbot with OpenAI](/examples/readme/components/chat.md) example.

## See Also

* [Jigs (screens)](https://docs.jigx.com/building-apps-with-jigx/ui/jigs-_screens_)
* [location](/examples/readme/components/location.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.jigx.com/examples/readme/jig-types/jig_fullscreen.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
