From 327fca5d9ecf05f91e4c4e75a38cbfc786c9b228 Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Fri, 29 Mar 2019 09:27:34 +0000 Subject: [PATCH] LazMapViewer: Add OpenTopoMaps map provider. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6840 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/lazmapviewer/source/mvengine.pas | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/lazmapviewer/source/mvengine.pas b/components/lazmapviewer/source/mvengine.pas index e933ac744..9c6e6af31 100644 --- a/components/lazmapviewer/source/mvengine.pas +++ b/components/lazmapviewer/source/mvengine.pas @@ -862,6 +862,9 @@ begin AddMapProvider('Open Cycle Map', 'http://%serv%.tile.opencyclemap.org/cycle/%z%/%x%/%y%.png', 0, 18, 3, @getLetterSvr); + AddMapProvider('Open Topo Map', + 'http://%serv%.tile.opentopomap.org/%z%/%x%/%y%.png', + 0, 19, 3, @getLetterSvr); AddMapProvider('Virtual Earth Bing', 'http://ecn.t%serv%.tiles.virtualearth.net/tiles/r%x%?g=671&mkt=en-us&lbl=l1&stl=h&shading=hill', 1, 19, 8, nil, @GetQuadKey);