open-index/open-npm huggingface dataset:
npm package: @milemaker/milemaker-js
Description: ```bash yarn add @milemaker/milemaker-js ```
Latest version: 2.0.1

# MikeMaker Map Display SDK

### Installation

#### Using yarn:

```bash
yarn add @milemaker/milemaker-js
```

#### Using npm:

```bash
npm install @milemaker/milemaker-js
```

### Initialization

Create map instance

```ts
const mapInstance: MapInstance = await createMap({
    container: containerHtmlElement | elementIdString,
    accessToken: "*ACCESS_TOKEN*",
});
```

### Adding default map controls

Add such lines

```ts
mapInstance.controls.createBaseLayerControl();
mapInstance.controls.createZoomControl();
mapInstance.controls.createCurrentPositionControl();
mapInstance.controls.createOverlayLayerControl();
```

### Documentation

For more info visit [Documentation](https://js-developer.milemaker.com/)