porting gmap lib to native gmap