---
title: MapUserLocationErrorEvent
framework: mapkitjs
role: symbol
role_heading: Class
path: mapkitjs/mapuserlocationerrorevent
---

# MapUserLocationErrorEvent

An event that indicates that MapKit JS is unable to acquire a person’s location.

## Declaration

```data
class MapUserLocationErrorEvent extends Event
```

## Topics

### Instance Properties

- [code](mapkitjs/mapuserlocationerrorevent/code.md)
- [message](mapkitjs/mapuserlocationerrorevent/message.md)

## Relationships

### Inherits From

- Event

## See Also

### Map events

- [MapEvent](mapkitjs/mapevent.md)
- [MapAnnotationDragEvent](mapkitjs/mapannotationdragevent.md)
- [MapAnnotationSelectionEvent](mapkitjs/mapannotationselectionevent.md)
- [MapOverlaySelectionEvent](mapkitjs/mapoverlayselectionevent.md)
- [MapUserLocationChangeEvent](mapkitjs/mapuserlocationchangeevent.md)
