[general]
name=Layer tiles mapcanvas QGIS4 port
description=Create a layer with grid of tiles from extent and zoom of map canvas
about=This plugin creates a layer with a grid of tiles from the extent and zoom of the map canvas.
  The goal of the plugin is to check an XYZ tile server by showing the tile grid
  for the current map canvas extent and zoom level.
  The plugin can also be used to download image tiles.
  * Please check if the server license permits downloading.
  Originally developed by Luiz Motta. QGIS 4.0 port by Liao-junbo.

version=2.8
qgisMinimumVersion=4.0

author=Liao-junbo
email=ljb152@gmail.com

category=Web
license=GPL-2.0-or-later

tags=Tiles,XYZ,TMS,Download,Mapcanvas

homepage=https://github.com/Liao-junbo/layertilesmapcanvas_v2.0
tracker=https://github.com/Liao-junbo/layertilesmapcanvas_v2.0/issues
repository=https://github.com/Liao-junbo/layertilesmapcanvas_v2.0

icon=layertilesmapcanvas.png

experimental=False
deprecated=False

changelog=2.8(2026-05-11)
  - W503/W504: replace multi-line boolean with any() to avoid operator line-break rules
  2.7(2026-05-11)
  Code quality improvements for Flake8 compliance
  - Fix E201/E202 whitespace inside parentheses
  - Normalize continuation line indentation (E128)
  2.2(2026-05-11)
  Security scan fix
  - Replace urllib.request.urlopen with restricted HTTP/HTTPS opener.open
  2.1(2026-05-11)
  Security hardening for plugin repository scan
  - Validate tile URL scheme/host and block private or local addresses
  - Disallow credentials in tile URL
  - Add default network timeout for url requests
  - Add safe path boundary checks before writing/removing files
  2.0(2026-05-11)
  QGIS 4.0 / Qt6 / PyQt6 compatibility port
  - Replace QVariant with QMetaType.Type (QgsField type argument)
  - Fully qualify all Qt enums: Qt.TextFormat.RichText, etc.
  - Replace Qgis.Warning/Info/Critical with Qgis.MessageLevel.*
  - Replace QgsTask.CanCancel with QgsTask.Flag.CanCancel
  - Replace QMessageBox.Yes/No with QMessageBox.StandardButton.Yes/No
  - Replace QgsFileWidget.GetDirectory with QgsFileWidget.StorageMode.GetDirectory
  - Add explicit urllib.parse import
  - Update qgisMinimumVersion to 4.0
  1.4(2021-11-13)
  - Added Min and Max zoom from XYZ server
  1.3(2021-04-13)
  Fixed remove plugin menu and toolbar
  - 1.2(2021-01-29)
  Download selected tiles
  - 1.1(2020-11-30)
  Fixed download(Thanks George)
  - 1.0(2020-05-01)
  Start of plugin
