millstone icon indicating copy to clipboard operation
millstone copied to clipboard

middleware for map styles and datasources

millstone

Build Status Build status Dependencies

As of carto 0.2.0, the Carto module expects all datasources and resources to be localized - remote references like URLs and providers are not downloaded when maps are rendered.

Millstone now contains this logic - it provides two functions, resolve and flush. Resolve takes an MML file and returns a localized version, and flush can be used to clear the cache of a specific resource.

Authors

  • Will White
  • Dmitri Gaskin
  • Young Hahn
  • Konstantin Kaefer
  • Tom MacWright