~foxtrotgps-team/foxtrotgps/trunk

« back to all changes in this revision

Viewing changes to src/tile_management.c

  • Committer: Paul Wise
  • Date: 2020-03-21 04:20:16 UTC
  • Revision ID: pabs3@bonedaddy.net-20200321042016-51jwrh8ic1om3haj
Switch default maximum zoom level from 18 to 20

Several map tile services now use zoom levels 19 and 20:

 * Google Maps goes up to 20
 * Google Satellite Maps goes up to 19
 * OpenStreetMap goes up to 19

This would be best fixed by per-source maximum zoom levels, but
that would require converting from GladeXML to GtkBuilder, which
requires more work, so do this until the conversion happens.

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
        gchar *key;
133
133
        int value=1;
134
134
        int *found;
135
 
        int maxzoom=18;
 
135
        int maxzoom=20;
136
136
        gboolean retval = FALSE;
137
137
        gchar *inp, *outp;
138
138
        int nfmts;