Decomposed long method MapController.prototype.onDrop()