NewMap API for JavaScript(old)示例