]> git.street.me.uk Git - andy/viking.git/log
andy/viking.git
9 years agoAdd function to get number of processors.
Rob Norris [Wed, 3 Dec 2014 00:32:28 +0000 (00:32 +0000)]
Add function to get number of processors.

Would be simple if only GLib 2.36+, but need to support older versions.
Particularly for Windows builds which ATM uses GLib 2.28

9 years agoAdd XML as file entry filter option.
Rob Norris [Sun, 30 Nov 2014 11:41:24 +0000 (11:41 +0000)]
Add XML as file entry filter option.

9 years ago[DOC] Add command line synopsis from the man page into the help.
Rob Norris [Tue, 27 Jan 2015 23:20:05 +0000 (23:20 +0000)]
[DOC] Add command line synopsis from the man page into the help.

9 years agoAllow starting Viking with command line parameters to set position, zoom and map...
Rob Norris [Tue, 27 Jan 2015 21:12:10 +0000 (21:12 +0000)]
Allow starting Viking with command line parameters to set position, zoom and map type.

--latitude <degrees>
--longitude <degrees>
--zoom <ZoomLevelOSM>
--map <MapID>

e.g.:
    viking --latitude 51.4 --longitude -1.3 --zoom 12 --map 13

9 years agoAdd functions to allow getting the default and setting the map layer type.
Rob Norris [Tue, 27 Jan 2015 21:04:28 +0000 (21:04 +0000)]
Add functions to allow getting the default and setting the map layer type.

9 years ago[QA] Fix vik_maps_layer_get_map_type() and improve return type.
Rob Norris [Tue, 27 Jan 2015 20:57:50 +0000 (20:57 +0000)]
[QA] Fix vik_maps_layer_get_map_type() and improve return type.

9 years ago[QA] Use map ids.
Rob Norris [Tue, 27 Jan 2015 20:52:49 +0000 (20:52 +0000)]
[QA] Use map ids.

9 years agoRework Map Tile information output to use new multi line dialog.
Rob Norris [Thu, 22 Jan 2015 21:50:39 +0000 (21:50 +0000)]
Rework Map Tile information output to use new multi line dialog.

9 years agoAdd a dialog to display several separate lines of text.
Rob Norris [Thu, 22 Jan 2015 21:43:17 +0000 (21:43 +0000)]
Add a dialog to display several separate lines of text.

9 years agoFix drawing of copied MBTiles map layers.
Rob Norris [Sat, 17 Jan 2015 17:34:39 +0000 (17:34 +0000)]
Fix drawing of copied MBTiles map layers.

9 years ago[QA] Write boolean check in a more standard manner.
Rob Norris [Sat, 17 Jan 2015 17:33:24 +0000 (17:33 +0000)]
[QA] Write boolean check in a more standard manner.

9 years ago[QA] Fix spelling mistakes and note that the INSTALL file is for Unix like systems.
Rob Norris [Sat, 17 Jan 2015 17:30:23 +0000 (17:30 +0000)]
[QA] Fix spelling mistakes and note that the INSTALL file is for Unix like systems.

9 years agoAllow various variable text output to be selectable so the user can copy the information.
Rob Norris [Fri, 9 Jan 2015 22:51:40 +0000 (22:51 +0000)]
Allow various variable text output to be selectable so the user can copy the information.

9 years agoAdd a function to enable creating a selectable label.
Rob Norris [Fri, 9 Jan 2015 22:51:06 +0000 (22:51 +0000)]
Add a function to enable creating a selectable label.

9 years ago[QA] Fix incorrect comment.
Rob Norris [Tue, 23 Dec 2014 12:18:16 +0000 (12:18 +0000)]
[QA] Fix incorrect comment.

9 years agoEnable opening an external Astronomy program at the specific date & time of a trackpo...
Rob Norris [Tue, 23 Dec 2014 12:17:49 +0000 (12:17 +0000)]
Enable opening an external Astronomy program at the specific date & time of a trackpoint or waypoint.

Primary aimed at invoking Stellarium.

9 years agoSlightly more configurable support for RedNotebook.
Rob Norris [Tue, 16 Dec 2014 20:06:43 +0000 (20:06 +0000)]
Slightly more configurable support for RedNotebook.

Enable specifying any actual program.
Add a default for Windows Systems.

9 years agoAdd 'Education' back into the Desktop Specification.
Rob Norris [Mon, 15 Dec 2014 19:23:15 +0000 (19:23 +0000)]
Add 'Education' back into the Desktop Specification.

Particularly for the XFCE Desktop, otherwise Viking ends up in the catch all category of 'Other'.

9 years agoRelease some resources on program exit.
Rob Norris [Sun, 14 Dec 2014 10:51:26 +0000 (10:51 +0000)]
Release some resources on program exit.

9 years agoCorrect Bing Aerial map name and allow for i18n.
Rob Norris [Mon, 15 Dec 2014 23:49:23 +0000 (23:49 +0000)]
Correct Bing Aerial map name and allow for i18n.

9 years agoShift Map Ids into a central location for ease of knowing what is in use.
Rob Norris [Mon, 15 Dec 2014 23:45:50 +0000 (23:45 +0000)]
Shift Map Ids into a central location for ease of knowing what is in use.

9 years agoShow maps layer tile grid lines in extreme debug mode
Rob Norris [Sun, 14 Dec 2014 11:02:05 +0000 (11:02 +0000)]
Show maps layer tile grid lines in extreme debug mode

9 years agoShift GTK+ compatibility definitions into vik_compat.h
Rob Norris [Sun, 14 Dec 2014 10:49:10 +0000 (10:49 +0000)]
Shift GTK+ compatibility definitions into vik_compat.h

9 years agoExtend zoom menus to cater for the highest zoom levels.
Rob Norris [Sun, 14 Dec 2014 10:49:50 +0000 (10:49 +0000)]
Extend zoom menus to cater for the highest zoom levels.

9 years agoPrevent compiler warnings with GLIB version 2.32 or later.
Rob Norris [Sun, 14 Dec 2014 10:48:00 +0000 (10:48 +0000)]
Prevent compiler warnings with GLIB version 2.32 or later.

Create new file to contain compatibility functions.
Just GLIB to begin with for GMutex functions.

9 years agoSF Features#129: Advanced Maps Layer drawing configuration.
Rob Norris [Sat, 13 Dec 2014 13:10:51 +0000 (13:10 +0000)]
SF Features#129: Advanced Maps Layer drawing configuration.

Add options to control extent of alternative zoom level tiles
 and whether to try smaller or larger zooms first.

These settings are used in the ~/.viking/viking.ini file.

. 'maps_scale_inc_up' - default = 2
. 'maps_scale_inc_down' - default = 4
. 'maps_scale_smaller_zoom_first' - default = true

9 years agoFix potential crashes from long running threads in a removed window.
Rob Norris [Sat, 13 Dec 2014 12:57:09 +0000 (12:57 +0000)]
Fix potential crashes from long running threads in a removed window.

9 years agoRemove configure check for strdup() as it is not used.
Rob Norris [Thu, 11 Dec 2014 21:22:34 +0000 (21:22 +0000)]
Remove configure check for strdup() as it is not used.

9 years agoSF Bugs#116: Fix erroneous usage of abs(). Use fabs() instead.
Rob Norris [Sun, 7 Dec 2014 16:21:11 +0000 (16:21 +0000)]
SF Bugs#116: Fix erroneous usage of abs(). Use fabs() instead.

9 years agoFix stdout/stderr variable usage.
Rob Norris [Sun, 7 Dec 2014 16:18:56 +0000 (16:18 +0000)]
Fix stdout/stderr variable usage.

9 years agoImprove potential statusbar message of a selected trackpoint.
Rob Norris [Tue, 2 Dec 2014 20:49:36 +0000 (20:49 +0000)]
Improve potential statusbar message of a selected trackpoint.

Actually supply the previous trackpoint so some interpolated values (such as speed) can be calculated.

9 years agoFix display of calculated speed for the statusbar message.
Rob Norris [Tue, 2 Dec 2014 20:44:06 +0000 (20:44 +0000)]
Fix display of calculated speed for the statusbar message.

9 years agoRemove not very helpful debug message since it can generate large volumes of messages.
Rob Norris [Tue, 2 Dec 2014 20:39:54 +0000 (20:39 +0000)]
Remove not very helpful debug message since it can generate large volumes of messages.

9 years agoSupport showing a climb (vertical speed) value in the statusbar.
Rob Norris [Mon, 1 Dec 2014 20:58:44 +0000 (20:58 +0000)]
Support showing a climb (vertical speed) value in the statusbar.

Requires adding 'B' to a format message code.

Presently choose not to store a vertical speed in trackpoints,
 as the climb value is only from GPSD.
On tracks the value is calculated from the altitude and time difference.

9 years ago[QA] Minor function rename for consistency
Rob Norris [Sun, 30 Nov 2014 11:10:29 +0000 (11:10 +0000)]
[QA] Minor function rename for consistency

9 years agoShift build configurable bits into modules.c
Rob Norris [Wed, 26 Nov 2014 21:12:14 +0000 (21:12 +0000)]
Shift build configurable bits into modules.c

9 years ago[WINDOWS] Tidy up Windows build
Rob Norris [Tue, 18 Nov 2014 00:16:47 +0000 (00:16 +0000)]
[WINDOWS] Tidy up Windows build

9 years agoSF Bugs#112: Enable using libgexiv2 for writing geotag image data to void XMP data...
Rob Norris [Mon, 17 Nov 2014 22:46:41 +0000 (22:46 +0000)]
SF Bugs#112: Enable using libgexiv2 for writing geotag image data to void XMP data loss.

Use libgexiv2 which is the C interface to Exiv2 C++ library.
Requires installation of the package named libgexiv2-dev or similar.

If libgexiv2 is not available,
 then it's possible to run configure with --with-libexif to force the use of the libexif
 (and then 'libjpeg' code to write EXIF data only to JPEGs but may lose XMP data)

9 years agoSF Features#124: Enable modifier key to enable panning in select tool mode.
Rob Norris [Sun, 16 Nov 2014 18:16:14 +0000 (18:16 +0000)]
SF Features#124: Enable modifier key to enable panning in select tool mode.

Alt Left on Windows and possibly Alt Right (key in Mod 5 group) on Linux like systems.

Particularly useful on laptops with touch-pads, as using the middle click (to pan) is often quite awkward.

9 years agoMerge branch 'GeoRefImprove'
Rob Norris [Sun, 16 Nov 2014 11:35:46 +0000 (11:35 +0000)]
Merge branch 'GeoRefImprove'

9 years ago[DOC] Update GeoRef Layer documentation for the latest capabilities.
Rob Norris [Sun, 16 Nov 2014 11:05:13 +0000 (11:05 +0000)]
[DOC] Update GeoRef Layer documentation for the latest capabilities.

9 years ago[DOC] Shift GeoRef layer help into a separate file.
Rob Norris [Sun, 16 Nov 2014 10:23:14 +0000 (10:23 +0000)]
[DOC] Shift GeoRef layer help into a separate file.

9 years agoAdd alpha capability to GeoRef images.
Rob Norris [Sat, 15 Nov 2014 14:52:50 +0000 (14:52 +0000)]
Add alpha capability to GeoRef images.

9 years agoMove function to apply an alpha value to be reuse-able.
Rob Norris [Sat, 15 Nov 2014 14:48:14 +0000 (14:48 +0000)]
Move function to apply an alpha value to be reuse-able.

9 years agoGeoRef Layer improvement to offer entering coordinates in Lat/Lon.
Rob Norris [Fri, 14 Nov 2014 18:22:49 +0000 (18:22 +0000)]
GeoRef Layer improvement to offer entering coordinates in Lat/Lon.

Optionally work out MPP values if the lower right coordinate is entered.

For Lat/Lon <-> UTM conversion actually store UTM zone and letter rather than the implicit value of the viewport.

9 years agoBy default automatically attempt to read the associated world file of a new georef...
Rob Norris [Wed, 5 Nov 2014 00:46:40 +0000 (00:46 +0000)]
By default automatically attempt to read the associated world file of a new georef image.

A preference allows turning off this attempt.

9 years agoRefactor world file reading to be more reuseable and improved comments.
Rob Norris [Wed, 5 Nov 2014 00:44:56 +0000 (00:44 +0000)]
Refactor world file reading to be more reuseable and improved comments.

9 years agoExtend file entry to enable running a callback on entry accepted.
Rob Norris [Wed, 5 Nov 2014 00:36:09 +0000 (00:36 +0000)]
Extend file entry to enable running a callback on entry accepted.

9 years agoGeoRefLayer is always created before the properties dialog is called.
Rob Norris [Tue, 4 Nov 2014 21:34:03 +0000 (21:34 +0000)]
GeoRefLayer is always created before the properties dialog is called.

Thus simplify the pointer usage and remove the unused create/setup.

9 years agoRemove unnecessary restriction on GeoRef layer needing to be in UTM Mode.
Rob Norris [Tue, 4 Nov 2014 21:30:26 +0000 (21:30 +0000)]
Remove unnecessary restriction on GeoRef layer needing to be in UTM Mode.

Although currently setting the Ref points needs UTM input the drawing doesn't need to restricted that way.

9 years agoSF Bugs#113: Fix waypoints can be accidentally moved on (re)selection by the select...
Rob Norris [Sun, 2 Nov 2014 19:08:10 +0000 (19:08 +0000)]
SF Bugs#113: Fix waypoints can be accidentally moved on (re)selection by the select tool

Add specific flag for detecting delibrate movement within the TrackWaypoint handling.
Also fix incorrect function definition for select move.
Hence replace the removed button state with a 'something selected' flag.

9 years ago[QA] Fix compiler warning from previous commit
Rob Norris [Sun, 2 Nov 2014 18:48:24 +0000 (18:48 +0000)]
[QA] Fix compiler warning from previous commit

9 years agoSF Bugs#115: Fix application hanging on degrees input ending in a comma.
Rob Norris [Sun, 2 Nov 2014 18:22:06 +0000 (18:22 +0000)]
SF Bugs#115: Fix application hanging on degrees input ending in a comma.

Need to detect when the processing endptr hasn't changed in analysing the text input,
 otherwise the while loop will get stuck in an infinite loop.

9 years agoSome geotagging tests.
Rob Norris [Tue, 28 Oct 2014 23:35:19 +0000 (23:35 +0000)]
Some geotagging tests.

9 years agoSF Features#125: Don't export unchecked items when exporting GPX files.
Rob Norris [Tue, 21 Oct 2014 20:15:55 +0000 (21:15 +0100)]
SF Features#125: Don't export unchecked items when exporting GPX files.

9 years agoSF Bugs#114: Fix Shortcut keys get reset next start
Rob Norris [Tue, 21 Oct 2014 19:38:56 +0000 (20:38 +0100)]
SF Bugs#114: Fix Shortcut keys get reset next start

Load / save the GTK+ Accelerator key map on program start / exit.

9 years agoUse test_metatile as a test program.
Rob Norris [Mon, 20 Oct 2014 20:44:22 +0000 (21:44 +0100)]
Use test_metatile as a test program.

9 years ago[QA] Prevent depreciated warnings from test programs.
Rob Norris [Mon, 20 Oct 2014 20:27:59 +0000 (21:27 +0100)]
[QA] Prevent depreciated warnings from test programs.

9 years agoFix memory leak in saving Geotag EXIF information.
Rob Norris [Mon, 20 Oct 2014 19:07:33 +0000 (20:07 +0100)]
Fix memory leak in saving Geotag EXIF information.

9 years agoFix memory leak in display of the preferences window.
Rob Norris [Sun, 19 Oct 2014 22:10:35 +0000 (23:10 +0100)]
Fix memory leak in display of the preferences window.

9 years agoFix crashing on invoking the Customize Toolbar from the preferences dialog.
Rob Norris [Sun, 19 Oct 2014 22:08:48 +0000 (23:08 +0100)]
Fix crashing on invoking the Customize Toolbar from the preferences dialog.

Only occurs after dialog has previously been OKed.

Don't save the pointer value in the preferences run_set_param
 (since this is an internal value never shown - the value passed into the set_param is random/not relevant)

The fault was introduced by the new configure toolbar code so not in any released version of Viking.

9 years ago[DOC] Toolbar customization.
Rob Norris [Sun, 19 Oct 2014 19:53:10 +0000 (20:53 +0100)]
[DOC] Toolbar customization.

9 years agoBump requirements to match the code.
Rob Norris [Fri, 17 Oct 2014 17:47:38 +0000 (18:47 +0100)]
Bump requirements to match the code.

autoconf 2.64 needed for PACKAGE_URL definition.
glib 2.26 for GDateTime + GTimeZone usage for some time manipulation functionality.

9 years agoFix for non portable GNU only strcasestr() function.
Rob Norris [Fri, 17 Oct 2014 17:16:19 +0000 (18:16 +0100)]
Fix for non portable GNU only strcasestr() function.

Mostly for Windows platform but should work for others too.

9 years ago[DOC] Wiki Help URL change.
Rob Norris [Thu, 16 Oct 2014 19:24:13 +0000 (20:24 +0100)]
[DOC] Wiki Help URL change.

9 years ago[DOC] Fix some strict docbook validation issues.
Rob Norris [Thu, 16 Oct 2014 19:23:32 +0000 (20:23 +0100)]
[DOC] Fix some strict docbook validation issues.

9 years ago[DOC] Recommended programs
Rob Norris [Thu, 16 Oct 2014 18:38:50 +0000 (19:38 +0100)]
[DOC] Recommended programs

9 years ago[WINDOWS] Various install improvements.
Rob Norris [Tue, 14 Oct 2014 23:44:36 +0000 (00:44 +0100)]
[WINDOWS] Various install improvements.

Use common settings for HKLM/HKCU -> SHCTX
Set more values for install information:
. Program icon
. Work out the install size
. URLs
. Comment (with translations)
Return to removing installed files rather than forced directory removal
 (as this may have bad side effects)

9 years ago[WINDOWS] Must accept GPL2 license before installing.
Rob Norris [Tue, 14 Oct 2014 23:32:02 +0000 (00:32 +0100)]
[WINDOWS] Must accept GPL2 license before installing.

9 years ago[WINDOWS] .vik file registration is automatic, .gpx is optional
Rob Norris [Tue, 14 Oct 2014 23:31:18 +0000 (00:31 +0100)]
[WINDOWS] .vik file registration is automatic, .gpx is optional

9 years ago[WINDOWS] Enable optional install of GPSBabel 1.5.1
Rob Norris [Tue, 14 Oct 2014 23:11:18 +0000 (00:11 +0100)]
[WINDOWS] Enable optional install of GPSBabel 1.5.1

Package and run the GPSBabel setup installer directly.

9 years ago[WINDOWS] Toolbar default to be similar to previous non optional setting.
Rob Norris [Tue, 14 Oct 2014 23:10:17 +0000 (00:10 +0100)]
[WINDOWS] Toolbar default to be similar to previous non optional setting.

9 years ago[WINDOWS] Update to use libcurl 7.34.0
Rob Norris [Tue, 14 Oct 2014 23:09:36 +0000 (00:09 +0100)]
[WINDOWS] Update to use libcurl 7.34.0

9 years ago[WINDOWS] Update to compile with GCC4.8.1
Rob Norris [Tue, 14 Oct 2014 23:08:06 +0000 (00:08 +0100)]
[WINDOWS] Update to compile with GCC4.8.1

Also update to make use of some batch functions and a few general tweaks.

9 years ago[WINDOWS] Fix path in installer generation
Rob Norris [Sun, 21 Sep 2014 17:00:11 +0000 (18:00 +0100)]
[WINDOWS] Fix path in installer generation

9 years ago[WINDOWS] For some reason the compiler under Windows doesn't like variables such...
Rob Norris [Sat, 20 Sep 2014 13:15:33 +0000 (14:15 +0100)]
[WINDOWS] For some reason the compiler under Windows doesn't like variables such as 'stdout' or 'stderr'

9 years ago[DOC] Some words about GPX export options.
Rob Norris [Mon, 13 Oct 2014 20:11:37 +0000 (21:11 +0100)]
[DOC] Some words about GPX export options.

9 years ago[WINDOWS] Default locations for GPSBabel
Rob Norris [Mon, 6 Oct 2014 23:12:30 +0000 (00:12 +0100)]
[WINDOWS] Default locations for GPSBabel

9 years agoOnly enable Google routing when GPSBabel is available.
Rob Norris [Fri, 26 Sep 2014 17:21:43 +0000 (18:21 +0100)]
Only enable Google routing when GPSBabel is available.

9 years agoAllow specifying the location for GPSBabel via a preference.
Rob Norris [Fri, 26 Sep 2014 17:21:10 +0000 (18:21 +0100)]
Allow specifying the location for GPSBabel via a preference.

9 years agoUpdate README to reflect current capabilities and fix changed Git URL.
Rob Norris [Thu, 25 Sep 2014 20:41:16 +0000 (21:41 +0100)]
Update README to reflect current capabilities and fix changed Git URL.

9 years agoEnsure waypoint bounds are recalculated when a waypoint is deleted.
Rob Norris [Tue, 23 Sep 2014 23:40:18 +0000 (00:40 +0100)]
Ensure waypoint bounds are recalculated when a waypoint is deleted.

9 years agoAdd TIFF as an image file type that gets listed in the applied filter.
Rob Norris [Thu, 11 Sep 2014 18:22:13 +0000 (19:22 +0100)]
Add TIFF as an image file type that gets listed in the applied filter.

9 years ago[DOC] Add manual section about the command line options.
Rob Norris [Mon, 8 Sep 2014 00:43:54 +0000 (01:43 +0100)]
[DOC] Add manual section about the command line options.

9 years ago'extreme' debug mode (i.e. -Vd) to not remove downloaded temporary files.
Rob Norris [Mon, 8 Sep 2014 00:43:11 +0000 (01:43 +0100)]
'extreme' debug mode (i.e. -Vd) to not remove downloaded temporary files.

Thus the contents can be inspected if things go wrong.

9 years agoMake "utils.h" commonly available in "viking.h"
Rob Norris [Sun, 7 Sep 2014 22:36:28 +0000 (23:36 +0100)]
Make "utils.h" commonly available in "viking.h"

9 years agoAdd simple amenity POI datasource for immediate use and an extended example.
Rob Norris [Tue, 14 Oct 2014 22:40:21 +0000 (23:40 +0100)]
Add simple amenity POI datasource for immediate use and an extended example.

9 years ago[DOC] Help for the extended datasource.
Rob Norris [Tue, 14 Oct 2014 22:38:15 +0000 (23:38 +0100)]
[DOC] Help for the extended datasource.

9 years agoAdd i18n and activate on return key in the entry in web datasource.
Rob Norris [Tue, 14 Oct 2014 22:36:23 +0000 (23:36 +0100)]
Add i18n and activate on return key in the entry in web datasource.

9 years agoadded help for the extended datasource stuff
Matthew Hague [Mon, 13 Oct 2014 21:21:09 +0000 (22:21 +0100)]
added help for the extended datasource stuff

9 years agoremoved a grab_focus that wasn't working
Matthew Hague [Mon, 13 Oct 2014 21:16:00 +0000 (22:16 +0100)]
removed a grab_focus that wasn't working

9 years agofixed a memory leak in babel.c
Matthew Hague [Mon, 13 Oct 2014 20:56:16 +0000 (21:56 +0100)]
fixed a memory leak in babel.c

9 years agoadded map to datasources so that last string is remembered by datasource not one...
Matthew Hague [Mon, 13 Oct 2014 20:54:21 +0000 (21:54 +0100)]
added map to datasources so that last string is remembered by datasource not one for all

9 years agoadded save previous user input string and input label options to datasource search...
Matthew Hague [Mon, 13 Oct 2014 20:18:35 +0000 (21:18 +0100)]
added save previous user input string and input label options to datasource search with user string

9 years agoadded search capability to datasources.xml, undocumented so far
Matthew Hague [Mon, 29 Sep 2014 23:13:45 +0000 (00:13 +0100)]
added search capability to datasources.xml, undocumented so far

9 years agoadded capability of adding babel filter args to external datasources
Matthew Hague [Mon, 29 Sep 2014 21:34:59 +0000 (22:34 +0100)]
added capability of adding babel filter args to external datasources

9 years agogps babel filters must be applied between the input and output options (separate...
Matthew Hague [Sun, 28 Sep 2014 21:20:22 +0000 (22:20 +0100)]
gps babel filters must be applied between the input and output options (separate from other options that must be passed first), implemented version of a_babel_convert_from and a_babel_convert_from_url to handle this properly

9 years agoMerge branch 'MapsExtendedConfiguration'
Rob Norris [Tue, 23 Sep 2014 23:55:14 +0000 (00:55 +0100)]
Merge branch 'MapsExtendedConfiguration'

10 years agoExtend TMS and WMSC maps to handle Zoom and Area extents.
Rob Norris [Mon, 15 Sep 2014 20:05:15 +0000 (21:05 +0100)]
Extend TMS and WMSC maps to handle Zoom and Area extents.

Also turn off OSM Metatiles for these map types.

10 years agoAdd and use capability of defined area by min/max lat/lons for map types.
Rob Norris [Mon, 15 Sep 2014 20:04:05 +0000 (21:04 +0100)]
Add and use capability of defined area by min/max lat/lons for map types.

Various tile servers have differing coverage extents by area.
Thus don't need to generate download requests that we know are going to fail.
The area levels can be customized for new maps.

NB this only caters for a simple rectangular bounding box, rather then bounding polygon.
All built in maps have world wide coverage.
Only the extension configured map CalTopo is effected limited area to the US.