simplify interface to map

now position pass to map can be Vector2 type