{ RoadMapGuiPoint gui_point; RoadMapGuiPoint top_left; RoadMapGuiPoint bottom_right; RoadMapPoint pos_tl; RoadMapPoint pos_br; pos_tl.latitude = edges->north; pos_tl.longitude = edges->west; //151929630 -27551159 pos_tl.latitude = -27551159; pos_tl.longitude = 151929630; roadmap_math_coordinate(&pos_tl,&top_left); pos_br.latitude = edges->south; pos_br.longitude = edges->east; roadmap_math_coordinate(&pos_br,&bottom_right); roadmap_math_rotate_coordinates (1, &top_left); roadmap_math_rotate_coordinates (1, &bottom_right); roadmap_log(ROADMAP_WARNING,"top: %d %d %d %d",pos_tl.longitude,pos_tl.latitude,top_left.x,top_left.y); roadmap_log(ROADMAP_WARNING,"bottom: %d %d %d %d",pos_br.longitude,pos_br.latitude,bottom_right.x,bottom_right.y); ... OUTPUT: s== roadmap_pois.c, line 45: top: 17182 39497 3282 108 s== roadmap_pois.c, line 46: bottom: 51902 28316 -2188 -10790 s== roadmap_pois.c, line 83: drawing: <547x-5341> s== roadmap_landmark.c, line 85: waypoint: 151929630 -27551159 94 13