Skip to content

Instantly share code, notes, and snippets.

Created April 2, 2014 20:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/9942984 to your computer and use it in GitHub Desktop.
Save anonymous/9942984 to your computer and use it in GitHub Desktop.
MapBox questions
My question: -
1) Do I need to generate the MBTiles file and upload it to Mapbox or do I have the option to upload my raster file to MapBox and have Mapbox do the caching for me? I didn't see any docs about the latter on your site just the first.
2) If I cache it here and upload the file to MapBox, Are there are better ways to get the file to Mapbox other than uploading through the browser since the file is going to be big? Can I upload the file in chuncks etc
3) Can i map the location of the map tiles to a custom url that's under our domain? Are there any docs on this?
Answer from Mapbox support that doesn't answer all my questions: -
The way to do this would be to use TileMill and export an MBTile set. You would need to set some parameters like extent and the number of zoom levels for the map. This will ultimately determine the size of the file and what plan level you may need. Please let me know if this helps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment