From 66660d3a241247437aba9e58591d5253e1221532 Mon Sep 17 00:00:00 2001
From: Anton Sarukhanov <code@ant.sr>
Date: Tue, 26 Jan 2016 14:14:44 -0500
Subject: [PATCH] readme improvements

---
 README.md | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 62d5e44..cedb1f3 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,22 @@
-# Leaflet.Marker.rotate
+# Leaflet Marker rotate
 
 This is a plugin for [Leaflet](http://leafletjs.com/). It allows Markers
 (map icons) to be rotated using a CSS transform. Rotation is set in degrees.
 
 It is based on comments by users coomsie and runanet on
 [Leaflet/issues/386](https://github.com/Leaflet/Leaflet/issues/386).
+
+Features include an `iconAngle` marker option, and a `setIconAngle()` marker method.
+
+## Usage
+
+To set a marker's initial rotation:
+
+    var myMarker = L.marker(lat, lon, {
+        icon: L.icon(iconOptions),
+        iconAngle: 90,              // Rotate 90 degrees clockwise.
+    });
+    
+To rotate an existing marker:
+
+    myMarker.setIconAngle(180);     // Rotate 180 degrees.
\ No newline at end of file
-- 
GitLab