Skip to content
manleyjster edited this page Sep 29, 2014 · 1 revision

Factory

L.rotatableMarker(<LatLng> latlng, <Rotatable marker options> options?)

Methods

Method Returns Description
setRotation(<Number> rotation) this Rotate the marker. Takes a rotation between 0 and 2π radians.
getRotation() Number Get the rotation of the marker in radians between 0 and 2π.

Options

Option Type Default Description
rotation Number 0 The rotation of the marker.
Clone this wiki locally