set ()

Class: Marker

Will set the marker in its appropriate position. This is only relevant if the marker needs to change. In other words, it's not (yet) used for manually moving the marker.

It returns an array of coordinates as xPx, yPx.

Returns: Array of coordinates as [xPx, yPx]


// assuming you already have access to `marker` as a Marker object