News:

Thou shalt confirm thine airspeed on final, lest the earth rise up and smite thee. (pre-landing checklist, v1)

Main Menu

How do I get a mapbox id?

Started by pontiusthepilot, April 30, 2017, 04:24:16 PM

Previous topic - Next topic

pontiusthepilot

Hi All.

I've created a map in Mapbox, but I get a 401 error if I attempt to access it from either Plan-G 3.1.3 or 3.1.4.

I've been to https://www.mapbox.com/studio/classic/projects/ and there's nothing there.

I've managed to find the access key, but I can't find any Mapbox ID anywhere even though I've searched the Mapbox Studio high and low. All I can find is a style URL which is something like:

mapbox://styles/myusername/load-of-gibberish

So is the style URL the same as the ID? And if not how do I get an ID?

I'm getting a bit confused by this.

regards.
Pontius.

dempsey

Your <username>/<giberrish> is indeed the MapBox ID in Plan-G.

See also my explanation in http://www.tasoftware.co.uk/forum/index.php?topic=3620.msg17597#msg17597
Dempsey

X-Plane 11.25, Plan-G 3.2.1.151

pontiusthepilot

Right. It seems that you have to remove the mapbox://styles/ from the style URL to get the id.

Thanks. It's working now.
Pontius.