The support forum is temporarily read-only. For urgent requests, please email contact[at]psyberia.net

[closed] MapBox map

It's all about maps...
Post Reply
Igor

[closed] MapBox map

Post by Igor »

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<aqx version="3">

<source id="Mapbox.pencil">
    <name>Mapbox.pencil</name>
    <level>
      <zoom-values>5,7,9,10,11,12,13,14,15,16,17,18,19</zoom-values>
      <servers>
        <server>https://a.tiles.mapbox.com/v4/mapbox.pencil/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
<server>https://b.tiles.mapbox.com/v4/mapbox.pencil/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
<server>https://c.tiles.mapbox.com/v4/mapbox.pencil/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
      </servers>
    </level>
  </source>

<source id="Mapbox.run-bike-hike">
    <name>Mapbox.run-bike-hike</name>
    <level>
      <zoom-values>5,7,9,10,11,12,13,14,15,16,17,18,19</zoom-values>
      <servers>
        <server>https://a.tiles.mapbox.com/v4/mapbox.run-bike-hike/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
  <server>https://b.tiles.mapbox.com/v4/mapbox.run-bike-hike/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
  <server>https://c.tiles.mapbox.com/v4/mapbox.run-bike-hike/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
      </servers>
    </level>
  </source>

<source id="Mapbox.streets">
    <name>Mapbox.streets</name>
    <level>
      <zoom-values>5,7,9,10,11,12,13,14,15,16,17,18,19</zoom-values>
      <servers>
        <server>https://a.tiles.mapbox.com/v4/mapbox.streets/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
<server>https://b.tiles.mapbox.com/v4/mapbox.streets/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
<server>https://c.tiles.mapbox.com/v4/mapbox.streets/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
      </servers>
    </level>
  </source>

<source id="Mapbox.light">
    <name>Mapbox.light</name>
    <level>
      <zoom-values>5,7,9,10,11,12,13,14,15,16,17,18,19</zoom-values>
      <servers>
        <server>https://a.tiles.mapbox.com/v4/mapbox.light/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
 <server>https://b.tiles.mapbox.com/v4/mapbox.light/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
 <server>https://c.tiles.mapbox.com/v4/mapbox.light/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
      </servers>
    </level>
  </source>

<source id="Mapbox.dark">
    <name>Mapbox.dark</name>
    <level>
      <zoom-values>5,7,9,10,11,12,13,14,15,16,17,18,19</zoom-values>
      <servers>
        <server>https://a.tiles.mapbox.com/v4/mapbox.dark/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
  <server>https://b.tiles.mapbox.com/v4/mapbox.dark/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
  <server>https://c.tiles.mapbox.com/v4/mapbox.dark/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
      </servers>
    </level>
  </source>

<source id="Mapbox.emerald">
    <name>Mapbox.emerald</name>
    <level>
      <zoom-values>5,7,9,10,11,12,13,14,15,16,17,18,19</zoom-values>
      <servers>
        <server>https://a.tiles.mapbox.com/v4/mapbox.emerald/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
   <server>https://b.tiles.mapbox.com/v4/mapbox.emerald/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
   <server>https://c.tiles.mapbox.com/v4/mapbox.emerald/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
      </servers>
    </level>
  </source>

<source id="Mapbox.outdoors">
    <name>Mapbox.outdoors</name>
    <level>
      <zoom-values>5,7,9,10,11,12,13,14,15,16,17,18,19</zoom-values>
      <servers>
        <server>https://a.tiles.mapbox.com/v4/mapbox.outdoors/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
   <server>https://b.tiles.mapbox.com/v4/mapbox.outdoors/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
  <server>https://c.tiles.mapbox.com/v4/mapbox.outdoors/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
      </servers>
    </level>
  </source>

<source id="Mapbox.high-contrast">
    <name>Mapbox.high-contrast</name>
    <level>
      <zoom-values>5,7,9,10,11,12,13,14,15,16,17,18,19</zoom-values>
      <servers>
        <server>https://a.tiles.mapbox.com/v4/mapbox.high-contrast/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
 <server>https://b.tiles.mapbox.com/v4/mapbox.high-contrast/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
<server>https://c.tiles.mapbox.com/v4/mapbox.high-contrast/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
      </servers>
    </level>
  </source>

<source id="Mapbox.wheatpaste">
    <name>Mapbox.wheatpaste</name>
    <level>
      <zoom-values>5,7,9,10,11,12,13,14,15,16,17,18,19</zoom-values>
      <servers>
        <server>https://a.tiles.mapbox.com/v4/mapbox.wheatpaste/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
<server>https://b.tiles.mapbox.com/v4/mapbox.wheatpaste/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
<server>https://c.tiles.mapbox.com/v4/mapbox.wheatpaste/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
      </servers>
    </level>
  </source>

<source id="Mapbox.comic">
    <name>Mapbox.comic</name>
    <level>
      <zoom-values>5,7,9,10,11,12,13,14,15,16,17,18,19</zoom-values>
      <servers>
        <server>https://a.tiles.mapbox.com/v4/mapbox.comic/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
 <server>https://b.tiles.mapbox.com/v4/mapbox.comic/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
 <server>https://c.tiles.mapbox.com/v4/mapbox.comic/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
      </servers>
    </level>
  </source>

<source id="Mapbox.streets-basic">
    <name>Mapbox.streets-basic</name>
    <level>
      <zoom-values>5,7,9,10,11,12,13,14,15,16,17,18,19</zoom-values>
      <servers>
        <server>https://a.tiles.mapbox.com/v4/mapbox.streets-basic/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
 <server>https://b.tiles.mapbox.com/v4/mapbox.streets-basic/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
<server>https://c.tiles.mapbox.com/v4/mapbox.streets-basic/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
      </servers>
    </level>
  </source>

<source id="Mapbox.pirates">
    <name>Mapbox.pirates</name>
    <level>
      <zoom-values>5,7,9,10,11,12,13,14,15,16,17,18,19</zoom-values>
      <servers>
        <server>https://a.tiles.mapbox.com/v4/mapbox.pirates/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
 <server>https://b.tiles.mapbox.com/v4/mapbox.pirates/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
 <server>https://c.tiles.mapbox.com/v4/mapbox.pirates/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
      </servers>
    </level>
  </source>

<source id="Mapbox.satellite">
    <name>Mapbox.satellite</name>
    <level>
      <zoom-values>5,7,9,10,11,12,13,14,15,16,17,18,19</zoom-values>
      <servers>
        <server>https://a.tiles.mapbox.com/v4/mapbox.satellite/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
<server>https://b.tiles.mapbox.com/v4/mapbox.satellite/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
<server>https://c.tiles.mapbox.com/v4/mapbox.satellite/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
      </servers>
    </level>
  </source>

<source id="Mapbox.streets-satellite">
    <name>Mapbox.streets-satellite</name>
    <level>
      <zoom-values>5,7,9,10,11,12,13,14,15,16,17,18,19</zoom-values>
      <servers>
        <server>https://a.tiles.mapbox.com/v4/mapbox.streets-satellite/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
<server>https://b.tiles.mapbox.com/v4/mapbox.streets-satellite/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
<server>https://c.tiles.mapbox.com/v4/mapbox.streets-satellite/{$z}/{$x}/{$y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q</server>
      </servers>
    </level>
  </source>

</aqx>
Psyberia-Support
Site Admin
Posts: 6408
Joined: Wed Apr 14, 2010 9:41 pm

Re: MapBox map

Post by Psyberia-Support »

Thanks for the maps!
Since they requires a token key I won't put them in the community maps list, but anyone can feel free to add them manually...
Thanks again
Do you like AlpineQuest ? Leave a small comment on Google Play !
User avatar
tallowcatch
Posts: 15
Joined: Tue Oct 22, 2019 12:58 pm

Re: MapBox map

Post by tallowcatch »

This is not working, can it be updated?
Psyberia-Support
Site Admin
Posts: 6408
Joined: Wed Apr 14, 2010 9:41 pm

Re: MapBox map

Post by Psyberia-Support »

I think this conf works:

Code: Select all

	<source id="MPBOXOUT">
		<name>Mapbox Outdoors</name>
		<data-source>https://www.mapbox.com/</data-source>
		<copyright>© Mapbox</copyright>
		<preview-location>13.40,52.41,11</preview-location>
		<level>
			<zoom-values>2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19</zoom-values>
			<update-delay>3M</update-delay>	
			<tiles-size>512</tiles-size>
			<expression set="mz">z-1</expression>
			<referer><![CDATA[https://api.mapbox.com/styles/v1/mapbox/outdoors-v9.html?title=true&access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4M29iazA2Z2gycXA4N2pmbDZmangifQ.-g_vE53SD2WrJ6tFX7QHmA#1.04/-0.0/0.0]]></referer>
			<server><![CDATA[https://api.mapbox.com/styles/v1/mapbox/outdoors-v9/tiles/{$mz}/{$x}/{$y}?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4M29iazA2Z2gycXA4N2pmbDZmangifQ.-g_vE53SD2WrJ6tFX7QHmA]]></server>
		</level>
	</source>
Do you like AlpineQuest ? Leave a small comment on Google Play !
User avatar
tallowcatch
Posts: 15
Joined: Tue Oct 22, 2019 12:58 pm

Re: MapBox map

Post by tallowcatch »

Thanks, I found out it was just a user error , so the first conf works. I just forget to save the file as aqx... But it has a another style (probably older) than yours, so it's different. I found out that there is also a even newer version of the outdoor style (V11) available:

Code: Select all

<source id="MPBOXOUT">
	<name>Mapbox Outdoors v11</name>
	<data-source>https://www.mapbox.com/</data-source>
	<copyright>© Mapbox</copyright>
	<preview-location>13.40,52.41,11</preview-location>
	<level>
		<zoom-values>2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19</zoom-values>
		<update-delay>3M</update-delay>
		<tiles-size>512</tiles-size>
		<expression set="mz">z-1</expression>
		<referer>
			<![CDATA[https://api.mapbox.com/styles/v1/mapbox/outdoors-v11.html?title=true&access_token=<your token here>#1.04/-0.0/0.0]]>
		</referer>
		<server>
			<![CDATA[https://api.mapbox.com/styles/v1/mapbox/outdoors-v11/tiles/{$mz}/{$x}/{$y}?access_token=<your token here>]]>
		</server>
	</level>
</source>
Psyberia-Support
Site Admin
Posts: 6408
Joined: Wed Apr 14, 2010 9:41 pm

Re: [closed] MapBox map

Post by Psyberia-Support »

Thanks for the feedback.
Do you like AlpineQuest ? Leave a small comment on Google Play !
Post Reply