1
votes

In brief, I’m looking for a way to either flatten layers in MapBox, or import a MapBox project into TileMill so I can flatten it into a new tile set.

My problem is this: I’m working with StroyMapJS (a JavaScript library) and it only recognizes the base layer coming from MapBox, with no additional layers. However, I have some vector data that is a critical part of the story that I want included. My thinking is that if I can flatten or merge the layers into a new basemap I would be fine. So, I would either:

  1. Do this directly in MapBox – but I can’t find a feature to do this, or
  2. Import the Terrain MapBox layer into TileMill, add my vector data, and then export as a new set of tiles and create a new project from these tiles in MapBox - but I can’t figure out how to bring a MapBox project into TileMill.

Am I going about this the wrong way or am I mission something?

Thanks

1

1 Answers

1
votes

but I can’t figure out how to bring a MapBox project into TileMill.

You would export your markers & overlays as GeoJSON - this will be in the Project UI in the map editor. Then you can import that GeoJSON into TileMill as a datasource.