1
0
mirror of https://github.com/tumic0/GPXSee-maps.git synced 2024-10-06 06:43:23 +02:00

Added Mapbox MVT map

This commit is contained in:
Martin Tůma 2020-04-09 23:59:33 +02:00
parent 1d63d4f0e8
commit cf7cabfd6a

15
World/Mapbox.tpl Normal file
View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This map requires a style for the Mapbox tile scheme like
https://github.com/tumic0/QtPBFImagePlugin-styles/tree/master/Mapbox/bright
The default OpenMapTiles tile scheme style included in QtPBFImagePlugin
won't display the map properly!
-->
<map xmlns="http://www.gpxsee.org/map/1.3">
<name>Mapbox</name>
<url>https://c.tiles.mapbox.com/v4/mapbox.mapbox-streets-v7/$z/$x/$y.vector.pbf?access_token=insert-your-apikey-here</url>
<!-- The tile size is 512px since QtPBFImagePlugin v2, use 256 if you have v1 -->
<tile type="vector" size="512"/>
<zoom max="18"/>
<copyright>© Mapbox</copyright>
</map>