---
title: Service
framework: mapkitjs
role: symbol
role_heading: Class
path: mapkitjs/service
---

# Service

An abstract class that provides common interfaces for service objects.

## Declaration

```data
abstract class Service
```

## Discussion

Discussion You can’t initialize an abstract class. Use specific service classes to create service objects.

## Topics

### Instance Properties

- [getsUserLocation](mapkitjs/service/getsuserlocation.md)
- [language](mapkitjs/service/language.md)

### Instance Methods

- [cancel(promise)](mapkitjs/service/cancel.md)

## Relationships

### Inherited By

- [Directions](mapkitjs/directions.md)
- [Geocoder](mapkitjs/geocoder.md)
- [PlaceLookup](mapkitjs/placelookup.md)
- [PointsOfInterestSearch](mapkitjs/pointsofinterestsearch.md)
- [Search](mapkitjs/search.md)

## See Also

### Service

- [RequestError](mapkitjs/requesterror.md)
