basic use of map api