What’s the exact URL you’re passing? You need to keep the access token. And you 
might need to generate a new one, by hitting the tiler server via your Mapbox 
app first. This is peculiar to Mapbox (because they use a paid subscription 
model), but the tile scheme is the same.

If I try to open just
https://a.tiles.mapbox.com/v4/sparks.m5kmpi20/10/288/[email protected]
in a browser that has never connected to Tour de Cure, I see
{"message":"Not Authorized - No Token"}

But if I open
https://a.tiles.mapbox.com/v4/sparks.m5kmpi20/10/288/[email protected]?access_token=pk.eyJ1Ijoic3BhcmtzIiwiYSI6ImZoamk1dmMifQ.WS_WgruA82kmVWgZP_GgcQ
then I see an image tile.

From the command line, the access token is required, too:
lwp-request 'https://a.tiles.mapbox.com/v4/sparks.m5kmpi20/10/288/[email protected]'
returns
{"message":"Not Authorized - No Token”}

Hal

> On May 12, 2015, at 2:59 PM, Eric Christensen <[email protected]> 
> wrote:
> 
> On Tuesday, May 12, 2015 01:27:35 PM Hal Mueller wrote:
>> Yep, that would be perfect. My bad, I thought Xastir lacked that capability.
>> The tile/URL scheme is mentioned in my other message.
> 
> Okay, I've been tinkering with using that URL as part of a tile server but 
> I'm 
> still getting:
> 
> Couldn't download the file
> Perhaps a timeout? Try increasing "Internet Map Timout".
> 
> I'm sure the URL is what's messed up with regards to it being a tile server.
> 
> --Eric

_______________________________________________
Xastir mailing list
[email protected]
http://xastir.org/mailman/listinfo/xastir

Reply via email to