implemented compass algorithm
added markerDeployDistance