Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 976 Bytes

README.md

File metadata and controls

46 lines (28 loc) · 976 Bytes

Static Map Saver

Using Airtable API as the data feed to then build static map images from MapBox and then save it to disk. Static map images can then be used on web pages.

Requirements

  • PHP7 & Composer
  • MapBox Key
  • Airtable key
  • Run from Command line

Goals

  • Configurable
  • Follow consistent naming of images to be pulled from a front end web site

File naming convention

  • {Place Lookup}-wide.png
  • {Place Lookup}-detail.png

References

Config

  • Keys
  • Data source
  • Airtable Endpoint
  • Save images to path

Copy the sample.env and fill in all values with your instance data.

Design notes

  • Airtable could be broken into separate project
  • Mapbox could also be broken into separate project

Created at Faithtech Hack