/[zanavi_public1]/navit/navit/navit.c
ZANavi

Diff of /navit/navit/navit.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 51 Revision 52
278 278
279int route_status_previous = 0; 279int route_status_previous = 0;
280long long global_route_memory_size = 0; 280long long global_route_memory_size = 0;
281int global_old_vehicle_speed = -1; 281int global_old_vehicle_speed = -1;
282int global_old_vehicle_speed_for_autozoom = -1; 282int global_old_vehicle_speed_for_autozoom = -1;
283long global_scale = 100;
283 284
284void navit_add_mapset(struct navit *this_, struct mapset *ms) 285void navit_add_mapset(struct navit *this_, struct mapset *ms)
285{ 286{
286 this_->mapsets = g_list_append(this_->mapsets, ms); 287 this_->mapsets = g_list_append(this_->mapsets, ms);
287} 288}
803 804
804 if (scale > this_->zoom_max) 805 if (scale > this_->zoom_max)
805 { 806 {
806 scale = this_->zoom_max; 807 scale = this_->zoom_max;
807 } 808 }
809
810 global_scale = scale;
808 811
809 // return scale value to android 812 // return scale value to android
810#ifdef HAVE_API_ANDROID 813#ifdef HAVE_API_ANDROID
811 android_return_generic_int(3, (int)scale); 814 android_return_generic_int(3, (int)scale);
812#endif 815#endif

Legend:
Removed from v.51  
changed lines
  Added in v.52

   
Visit the ZANavi Wiki