Planit.js

isDraggable ()

Class: Marker

Returns true if the marker is allowed to be dragged. It does so by looking for a draggable class on the marker.

Returns: Boolean

Example

// assuming you already have access to `marker` as a Marker object
marker.isDraggable() // true/false