# @types/leaflet-rotatedmarker

> TypeScript definitions for leaflet-rotatedmarker

Latest version **0.2.6** (published 2025-09-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/leaflet-rotatedmarker
pnpm add @types/leaflet-rotatedmarker
yarn add @types/leaflet-rotatedmarker
bun add @types/leaflet-rotatedmarker
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 0.2.6 |
| Published | 2025-09-03 |
| First published | 2017-10-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51440 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/leaflet-rotatedmarker
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/leaflet-rotatedmarker
- npm.io page: https://npm.io/package/@types/leaflet-rotatedmarker

## Dependencies (1)

- [@types/leaflet](https://npm.io/package/@types/leaflet.md) ^1.9

## Recent versions

- 0.2.6 (latest) — 2025-09-03
- 0.2.5 (ts4.5) — 2023-11-07
- 0.2.3 (ts4.3) — 2023-08-30
- 0.2.2 (ts3.6) — 2021-07-08
- 0.2.1 (ts2.3) — 2017-11-09
- 0.2.0 (ts2.0) — 2017-10-09
- 0.2.4 — 2023-10-18

## README

# Installation
> `npm install --save @types/leaflet-rotatedmarker`

# Summary
This package contains type definitions for leaflet-rotatedmarker (https://github.com/bbecquet/Leaflet.RotatedMarker).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/leaflet-rotatedmarker.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/leaflet-rotatedmarker/index.d.ts)
````ts
import * as L from "leaflet";

declare module "leaflet" {
    interface MarkerOptions {
        rotationAngle?: number | undefined; // Rotation angle, in degrees, clockwise. (Default = 0)
        rotationOrigin?: string | undefined; // The rotation center, as a transform-origin CSS rule. (Default = 'bottom center')
    }

    interface Marker {
        /*
         * Sets the rotation angle value.
         */
        setRotationAngle(newAngle: number): this;

        /**
         * Sets the rotation origin value.
         */
        setRotationOrigin(newOrigin: string): this;
    }
}

````

### Additional Details
 * Last updated: Wed, 03 Sep 2025 08:02:48 GMT
 * Dependencies: [@types/leaflet](https://npmjs.com/package/@types/leaflet)

# Credits
These definitions were written by [Robert Prib](https://github.com/robert-prib-polestar).

---
_Source: https://npm.io/package/@types/leaflet-rotatedmarker · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
