Planit.js

planitID ()

Class: Marker

When a marker is created, Planit adds a auto-generated ID to the marker so it can get back to it and all its associated parts. This will return that ID.

Returns: String

Example

// assuming you already have access to `marker` as a Marker object
marker.planitID() // will return something like 'f5a1s97k3232j907zc'