Kit Sunde
Kit Sunde

Reputation: 37095

Can I get the CartoCSS from a mapbox map?

Say I'm linking to a map made by someone else kitsunde.foo-bar-foo, is it possible for me to discover what CartoCSS was involved in rendering it?

Upvotes: 0

Views: 88

Answers (1)

Lyzi Diamond
Lyzi Diamond

Reputation: 603

Nope! CartoCSS is a pre-processor for Mapnik XML styling. When you upload a style to Mapbox from Mapbox Studio Classic, the CartoCSS is converted to Mapnik XML, and by the time it's actually in the browser, it's been combined with the vector sources and rendered into a static image. The CartoCSS is never stored on Mapbox's end.

Upvotes: 1

Related Questions