function-getMapObject
example code