---
title: "MapClickEvent | Geosplats sdk"
description: "Documentation for MapTiler GeoSplats SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs-qmgv.pages.dev/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Interface MapClickEvent

Event fired when the map is clicked.

interface MapClickEvent {  
    [position](#position): [LngLat](https://docs-qmgv.pages.dev/geosplats-sdk/api/interfaces/LngLat/);  
    [type](#type): "click";  
}

#### Hierarchy ([View Summary](https://docs-qmgv.pages.dev/geosplats-sdk/api/hierarchy/#MapClickEvent))

-   [Event](https://docs-qmgv.pages.dev/geosplats-sdk/api/interfaces/Event/)<"click"\>
    -   MapClickEvent

##### Index

### Properties[](#properties)

[position](#position) [type](#type)

## Properties[](#properties-1)

### position[](#position)

position: [LngLat](https://docs-qmgv.pages.dev/geosplats-sdk/api/interfaces/LngLat/)

Geographic position of the click.

### type[](#type)

type: "click"

The type of the event.

Inherited from [Event](https://docs-qmgv.pages.dev/geosplats-sdk/api/interfaces/Event/).[type](https://docs-qmgv.pages.dev/geosplats-sdk/api/interfaces/Event/#type-1)
