---
title: libraries
framework: mapkitjs
role: symbol
role_heading: Interface Property
path: mapkitjs/mapkitinitializationoptions/libraries
---

# libraries

An array of libraries to load at initialization.

## Declaration

```data
libraries?: string[];
```

## Discussion

Discussion note: The full bundle of MapKit JS ignores this option. MapKit JS divides its interfaces into libraries that you can specify when loading the framework. To optimize your app load time, pick only the interfaces you need: You can set the libraries to load statically by defining them within script tag in the data-libraries attribute or in the load(libraryNames) method, or by passing a libraries property in the init(options) options.
