functionified map position validation