/millstone

middleware for map styles and datasources

Primary LanguageJavaScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

millstone

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